Skip to content

Commit de77c4e

Browse files
safe-rm: use --replace-fail
1 parent 11286c2 commit de77c4e

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)