1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

crip: --replace -> --replace-fail

This commit is contained in:
Jack Kelly 2024-06-24 10:07:29 +10:00
parent 218d138dc3
commit c35d04dccb

View file

@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
cp $script $out/bin/
substituteInPlace $out/bin/$script \
--replace '$editor = "vim";' '$editor = "${nano}/bin/nano";'
--replace-fail '$editor = "vim";' '$editor = "${nano}/bin/nano";'
wrapProgram $out/bin/$script \
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.CDDB_get ]}" \