From a4234645fe2445fe503413b159a842dbb280a777 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 2 Nov 2018 15:30:30 -0500 Subject: betaflight: don’t use nano MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit not in newlib --- pkgs/development/misc/stm32/betaflight/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/misc/stm32/betaflight/default.nix b/pkgs/development/misc/stm32/betaflight/default.nix index 21230464e74..fbe48803f2d 100644 --- a/pkgs/development/misc/stm32/betaflight/default.nix +++ b/pkgs/development/misc/stm32/betaflight/default.nix @@ -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; -- cgit 1.4.1