swiProlog: fix darwin build
commit3cf4c5d09b0c972c1fe5d15c23cfc9c75276064b
authorStéphan Kochen <git@stephank.nl>
dateTue 11 May 2021, 21:10 (6 years ago)
parent35d969a
pkgs/development/compilers/swi-prolog/default.nix+1−1
@@ -53,7 +53,7 @@ stdenv.mkDerivation {
5353
5454 # Add the packInstall path to the swipl pack search path
5555 postPatch = ''
56− echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> /build/$sourceRoot/boot/init.pl
56+ echo "user:file_search_path(pack, '$out/lib/swipl/pack')." >> boot/init.pl
5757 '';
5858
5959 nativeBuildInputs = [ cmake pkg-config ];