aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorRoman Volosatovs <rvolosatovs@riseup.net>2017-11-26 17:07:37 +0100
committerJack Humbert <jack.humb@gmail.com>2017-11-26 17:55:24 -0500
commit833ec84921569ce8b2351cb48dac368bd9648e35 (patch)
tree4917f2ee0a1a5549c908a4aba6a6cf1c850c8373 /shell.nix
parent53ad7375c7a6279cd289aa50b3fe7d6350f07eda (diff)
downloadqmk_firmware-833ec84921569ce8b2351cb48dac368bd9648e35.tar.gz
qmk_firmware-833ec84921569ce8b2351cb48dac368bd9648e35.zip
shell.nix: add teensy loader
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell.nix b/shell.nix
index 302899c52..ce17dd41e 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,5 +1,5 @@
1{ pkgs ? import <nixpkgs> {} 1{ pkgs ? import <nixpkgs> {}
2, avr ? true, arm ? true }: 2, avr ? true, arm ? true, teensy ? true }:
3 3
4with pkgs; 4with pkgs;
5let 5let
@@ -19,7 +19,8 @@ stdenv.mkDerivation {
19 19
20 buildInputs = [ dfu-programmer dfu-util diffutils git ] 20 buildInputs = [ dfu-programmer dfu-util diffutils git ]
21 ++ lib.optional avr [ avrbinutils avrgcc avrlibc ] 21 ++ lib.optional avr [ avrbinutils avrgcc avrlibc ]
22 ++ lib.optional arm [ gcc-arm-embedded ]; 22 ++ lib.optional arm [ gcc-arm-embedded ]
23 ++ lib.optional teensy [ teensy-loader-cli ];
23 24
24 CFLAGS = lib.optional avr avr_incflags; 25 CFLAGS = lib.optional avr avr_incflags;
25 ASFLAGS = lib.optional avr avr_incflags; 26 ASFLAGS = lib.optional avr avr_incflags;