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

not in newlib

commita4234645fe2445fe503413b159a842dbb280a777 authorMatthew Bauer <mjbauer95@gmail.com> dateFri 2 Nov 2018, 15:30 (8 years ago) parent94a2cde
1 file changed+3
pkgs/development/misc/stm32/betaflight/default.nix+3
pkgs/development/misc/stm32/betaflight/default.nix+3
@@ -32,6 +32,9 @@ in stdenv.mkDerivation rec {
3232 postPatch = ''
3333 sed -ri "s/REVISION.*=.*git log.*/REVISION = ${builtins.substring 0 10 src.rev}/" Makefile # Simulate abbrev'd rev.
3434 sed -ri "s/binary hex/hex/" Makefile # No need for anything besides .hex
35+
36+ substitutateInPlace Makefile \
37+ --replace "--specs=nano.specs" ""
3538 '';
3639
3740 enableParallelBuilding = true;