git.iko.soy/typeable/nixpkgs
on master help sign in
inav: don’t use nano

not in newlib

commit94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba authorMatthew Bauer <mjbauer95@gmail.com> dateFri 2 Nov 2018, 15:30 (8 years ago) parent5df22e3
1 file changed+3
pkgs/development/misc/stm32/inav/default.nix+3
pkgs/development/misc/stm32/inav/default.nix+3
@@ -26,6 +26,9 @@ in stdenv.mkDerivation rec {
2626 sed -ri "s/REVISION.*=.*shell git.*/REVISION = ${builtins.substring 0 10 src.rev}/" Makefile # Simulate abbrev'd rev.
2727 sed -ri "s/-j *[0-9]+//" Makefile # Eliminate parallel build args in submakes
2828 sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex
29+
30+ substitutateInPlace Makefile \
31+ --replace "--specs=nano.specs" ""
2932 '';
3033
3134 enableParallelBuilding = true;