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:
parent
218d138dc3
commit
c35d04dccb
|
@ -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 ]}" \
|
||||
|
|
Loading…
Reference in a new issue