fstar: fix build on darwin

This commit is contained in:
Vincent Laporte 2017-05-30 17:08:47 +00:00
parent 1318120484
commit 218c486c1c

View File

@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
];
preBuild = ''
substituteInPlace src/Makefile --replace "\$(RUNTIME) VS/.nuget/NuGet.exe" "true"
substituteInPlace src/Makefile --replace "\$(RUNTIME) VS/.nuget/NuGet.exe" "true" \
--replace Darwin xyz
substituteInPlace src/VS/.nuget/NuGet.targets --replace "mono" "true"
# Fails with bad interpreter otherwise