mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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:
parent
8bb3919ea9
commit
48b9a4a4a5
@ -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" ""
|
||||
'';
|
||||
|
||||
|
@ -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" ""
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user