summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-02 15:30:10 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-02 15:42:32 -0500
commit94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba (patch)
tree6ff9b8a5953646cb2ac0732eaf2b1a37e6efde7e /pkgs/development/misc
parent5df22e343d17213cf986653f5d730f738f9cac71 (diff)
downloadnixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar.gz
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar.bz2
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar.lz
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar.xz
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.tar.zst
nixpkgs-94a2cdebaa0f25d52a08e3b2d3bdcdabd62e16ba.zip
inav: don’t use nano
not in newlib
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/stm32/inav/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/misc/stm32/inav/default.nix b/pkgs/development/misc/stm32/inav/default.nix
index 9c35ac2ffce..102b1eb8048 100644
--- a/pkgs/development/misc/stm32/inav/default.nix
+++ b/pkgs/development/misc/stm32/inav/default.nix
@@ -26,6 +26,9 @@ in stdenv.mkDerivation rec {
     sed -ri "s/REVISION.*=.*shell git.*/REVISION = ${builtins.substring 0 10 src.rev}/" Makefile # Simulate abbrev'd rev.
     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 \
+      --replace "--specs=nano.specs" ""
   '';
 
   enableParallelBuilding = true;