]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
shell.nix: add teensy loader
authorRoman Volosatovs <rvolosatovs@riseup.net>
Sun, 26 Nov 2017 16:07:37 +0000 (17:07 +0100)
committerJack Humbert <jack.humb@gmail.com>
Sun, 26 Nov 2017 22:55:24 +0000 (17:55 -0500)
shell.nix

index 302899c52b71be2fcb8e94cb50856802536bde42..ce17dd41e8d6d1ebd8101eb5a0b343cb6f3c013f 100644 (file)
--- a/shell.nix
+++ b/shell.nix
@@ -1,5 +1,5 @@
 { pkgs ? import <nixpkgs> {}
-, 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;