mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
lispPackages.cl-mysql: fix build
This commit is contained in:
@@ -77,7 +77,14 @@ $out/lib/common-lisp/query-fs"
|
||||
};
|
||||
};
|
||||
cffi = addNativeLibs [pkgs.libffi];
|
||||
cl-mysql = addNativeLibs [pkgs.mysql];
|
||||
cl-mysql = x: {
|
||||
propagatedBuildInputs = [pkgs.mysql.connector-c];
|
||||
overrides = y: (x.overrides y) // {
|
||||
prePatch = ((x.overrides y).prePatch or "") + ''
|
||||
sed -i 's,libmysqlclient_r,${pkgs.mysql.connector-c}/lib/mysql/libmysqlclient_r,' system.lisp
|
||||
'';
|
||||
};
|
||||
};
|
||||
cl-ppcre-template = x: {
|
||||
overrides = y: (x.overrides y) // {
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user