lispPackages.cl-mysql: fix build
For [ZHF](https://github.com/NixOS/nixpkgs/issues/68361)
This commit is contained in:
parent
eb9a358ebc
commit
b8193bd0b0
1 changed files with 8 additions and 1 deletions
|
@ -90,7 +90,14 @@ $out/lib/common-lisp/query-fs"
|
|||
};
|
||||
};
|
||||
cffi = addNativeLibs [pkgs.libffi];
|
||||
cl-mysql = addNativeLibs [pkgs.libmysqlclient];
|
||||
cl-mysql = x: {
|
||||
propagatedBuildInputs = [pkgs.libmysqlclient];
|
||||
overrides = y: (x.overrides y) // {
|
||||
prePatch = ((x.overrides y).prePatch or "") + ''
|
||||
sed -i 's,libmysqlclient_r,${pkgs.libmysqlclient}/lib/mysql/libmysqlclient_r,' system.lisp
|
||||
'';
|
||||
};
|
||||
};
|
||||
cl-ppcre-template = x: {
|
||||
overrides = y: (x.overrides y) // {
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue