Merge pull request #122622 from stephank/fix-swi-prolog-darwin

swiProlog: fix darwin build
This commit is contained in:
Robert Scott 2021-05-12 22:44:33 +01:00 committed by GitHub
commit 36a302cacc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ stdenv.mkDerivation {
# Add the packInstall path to the swipl pack search path
postPatch = ''
echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> /build/$sourceRoot/boot/init.pl
echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> boot/init.pl
'';
nativeBuildInputs = [ cmake pkg-config ];