From bf6a2d24fbd142cf0f8b69145f70f37bae43350a Mon Sep 17 00:00:00 2001 From: Benjamin Sparks Date: Sun, 30 Mar 2025 01:08:46 +0100 Subject: [PATCH] mono: prefer replace-fail --- pkgs/development/compilers/mono/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/mono/generic.nix b/pkgs/development/compilers/mono/generic.nix index b84d8a6f574f..56547ece52e6 100644 --- a/pkgs/development/compilers/mono/generic.nix +++ b/pkgs/development/compilers/mono/generic.nix @@ -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