summary refs log tree commit diff
path: root/pkgs/development/tools/misc/blackmagic/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-10-12 15:21:26 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-10-30 13:31:45 -0500
commitaa4707fc3449192b961bfd2dfc16b9042df0d7f3 (patch)
tree02678d0bdefb86a692e8ac435484b7ec03ebf6c2 /pkgs/development/tools/misc/blackmagic/default.nix
parent501d072b5ff48d55b97027a38626cb252c4d026c (diff)
downloadnixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar.gz
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar.bz2
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar.lz
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar.xz
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.tar.zst
nixlib-aa4707fc3449192b961bfd2dfc16b9042df0d7f3.zip
treewide: use gnu toolchain for avr/arm-embedded
These packages should in theory work with our GCC toolchains, but
there are some definite breakages that need to be tracked down.
Comparing output of these to old gcc-arm-embedded is important.

Affected packages include:

- axolooti
- avrdudess
- opentx
- microscheme
- betaflight
- inav
- blackmagic
- simavr
- gnuk
Diffstat (limited to 'pkgs/development/tools/misc/blackmagic/default.nix')
-rw-r--r--pkgs/development/tools/misc/blackmagic/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/blackmagic/default.nix b/pkgs/development/tools/misc/blackmagic/default.nix
index 2974c653acdd..281463528354 100644
--- a/pkgs/development/tools/misc/blackmagic/default.nix
+++ b/pkgs/development/tools/misc/blackmagic/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, fetchFromGitHub
-, gcc-arm-embedded, libftdi
+, gcc-arm-embedded, binutils-arm-embedded, libftdi
 , python, pythonPackages
 }:
 
@@ -17,8 +17,11 @@ stdenv.mkDerivation rec {
     fetchSubmodules = true;
   };
 
+  nativeBuildInputs = [
+    gcc-arm-embedded binutils-arm-embedded
+  ];
+
   buildInputs = [
-    gcc-arm-embedded
     libftdi
     python
     pythonPackages.intelhex