mono: prefer replace-fail

This commit is contained in:
Benjamin Sparks
2025-03-30 01:08:46 +01:00
parent 4a5d03c5b0
commit bf6a2d24fb
+1 -1
View File
@@ -85,7 +85,7 @@ stdenv.mkDerivation rec {
# Patch all the necessary scripts
preBuild = ''
makeFlagsArray=(INSTALL=`type -tp install`)
substituteInPlace mcs/class/corlib/System/Environment.cs --replace /usr/share "$out/share"
substituteInPlace mcs/class/corlib/System/Environment.cs --replace-fail /usr/share "$out/share"
'';
# Fix mono DLLMap so it can find libX11 to run winforms apps