Merge pull request #70493 from joachifm/feat/fix-cl-mysql

lispPackages.cl-mysql: fix build
This commit is contained in:
Joachim F 2019-10-06 11:03:11 +00:00 committed by GitHub
commit 7dbf55f404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ''