From 833ec84921569ce8b2351cb48dac368bd9648e35 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Sun, 26 Nov 2017 17:07:37 +0100 Subject: [PATCH] shell.nix: add teensy loader --- shell.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell.nix b/shell.nix index 302899c52b71..ce17dd41e8d6 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,5 @@ { pkgs ? import {} -, avr ? true, arm ? true }: +, avr ? true, arm ? true, teensy ? true }: with pkgs; let @@ -19,7 +19,8 @@ stdenv.mkDerivation { buildInputs = [ dfu-programmer dfu-util diffutils git ] ++ lib.optional avr [ avrbinutils avrgcc avrlibc ] - ++ lib.optional arm [ gcc-arm-embedded ]; + ++ lib.optional arm [ gcc-arm-embedded ] + ++ lib.optional teensy [ teensy-loader-cli ]; CFLAGS = lib.optional avr avr_incflags; ASFLAGS = lib.optional avr avr_incflags;