diff options
| author | tv <tv@krebsco.de> | 2025-07-17 11:42:48 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2025-07-17 11:42:48 +0200 |
| commit | 0e60e214916ff2c6e6f3806df6dd18353b8a47c3 (patch) | |
| tree | 102780b5abb190a82ad1474e1c80bae29a13b99a | |
| parent | 67c19d64cb00485ef32dd9a89f6987cd20e76d01 (diff) | |
fzmenu: use --replace-fail
| -rw-r--r-- | pkgs/simple/fzmenu/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/simple/fzmenu/default.nix b/pkgs/simple/fzmenu/default.nix index e709d74..d11a988 100644 --- a/pkgs/simple/fzmenu/default.nix +++ b/pkgs/simple/fzmenu/default.nix @@ -17,8 +17,8 @@ pkgs.runCommand "fzmenu" { cp -r ${./bin} $out/bin substituteInPlace $out/bin/otpmenu \ - --replace '#! /bin/sh' '#! ${pkgs.dash}/bin/dash' \ - --replace '#PATH=' PATH=${lib.makeBinPath [ + --replace-fail '#! /bin/sh' '#! ${pkgs.dash}/bin/dash' \ + --replace-fail '#PATH=' PATH=${lib.makeBinPath [ pkgs.coreutils pkgs.dash pkgs.findutils @@ -34,8 +34,8 @@ pkgs.runCommand "fzmenu" { ]} substituteInPlace $out/bin/passmenu \ - --replace '#! /bin/sh' '#! ${pkgs.dash}/bin/dash' \ - --replace '#PATH=' PATH=${lib.makeBinPath [ + --replace-fail '#! /bin/sh' '#! ${pkgs.dash}/bin/dash' \ + --replace-fail '#PATH=' PATH=${lib.makeBinPath [ pkgs.coreutils pkgs.dash pkgs.findutils |
