forked from mirrors/nixpkgs
betaflight: don’t use nano
not in newlib
This commit is contained in:
parent
94a2cdebaa
commit
a4234645fe
|
@ -32,6 +32,9 @@ in stdenv.mkDerivation rec {
|
|||
postPatch = ''
|
||||
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 \
|
||||
--replace "--specs=nano.specs" ""
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue