Unverified Commit d92617a8 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents 82f9b33e de77c4e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 ];