betaflight: don’t use nano

not in newlib
This commit is contained in:
Matthew Bauer 2018-11-02 15:30:30 -05:00
parent 94a2cdebaa
commit a4234645fe

View File

@ -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;