fix two typos in "substituteInPlace" that should never landed

I am not sure how these two could ever work but at least the typo is
fixed now. They still fail to compile but that is a different issue.
This commit is contained in:
Andreas Rammhold 2019-03-11 14:48:34 +01:00
parent 8bb3919ea9
commit 48b9a4a4a5
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
sed -ri "s/REVISION.*=.*git log.*/REVISION = ${builtins.substring 0 10 src.rev}/" Makefile # Simulate abbrev'd rev.
sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex
substitutateInPlace Makefile \
substituteInPlace Makefile \
--replace "--specs=nano.specs" ""
'';

View File

@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
sed -ri "s/-j *[0-9]+//" Makefile # Eliminate parallel build args in submakes
sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex
substitutateInPlace Makefile \
substituteInPlace Makefile \
--replace "--specs=nano.specs" ""
'';