Skip to content

Commit d92617a

Browse files
safe-rm: use --replace-fail (#398245)
2 parents 82f9b33 + de77c4e commit d92617a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/by-name/sa/safe-rm/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
2121

2222
postPatch = ''
2323
substituteInPlace src/main.rs \
24-
--replace "/bin/rm" "${coreutils}/bin/rm"
24+
--replace-fail "/bin/rm" "${coreutils}/bin/rm"
2525
'';
2626

2727
nativeBuildInputs = [ installShellFiles ];

0 commit comments

Comments
 (0)