safe-rm: use --replace-fail (#398245)

This commit is contained in:
Sandro
2025-04-13 21:43:07 +02:00
committed by GitHub
+1 -1
View File
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
postPatch = ''
substituteInPlace src/main.rs \
--replace "/bin/rm" "${coreutils}/bin/rm"
--replace-fail "/bin/rm" "${coreutils}/bin/rm"
'';
nativeBuildInputs = [ installShellFiles ];