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 ]}" \