mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
lispPackages.cl-mysql: fix build
For [ZHF](https://github.com/NixOS/nixpkgs/issues/68361)
This commit is contained in:
parent
eb9a358ebc
commit
b8193bd0b0
@ -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 New Issue
Block a user