lispPackages.iolib: patch lisp files to use the libfixposix library

This commit is contained in:
Antoine Eiche 2019-09-10 21:40:15 +02:00
parent aa6c38d9c1
commit 70ca8dab45

View File

@ -43,6 +43,12 @@ in
propagatedBuildInputs = (x.propagatedBuildInputs or [])
++ (with pkgs; [libfixposix gcc])
;
overrides = y: (x.overrides y) // {
prePatch = ''
sed 's|default \"libfixposix\"|default \"${pkgs.libfixposix}/lib/libfixposix\"|' -i src/syscalls/ffi-functions-unix.lisp
'';
};
};
cxml = skipBuildPhase;
wookie = addNativeLibs (with pkgs; [libuv openssl]);