HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ad737
)
shell.nix: add teensy loader
author
Roman Volosatovs
<rvolosatovs@riseup.net>
Sun, 26 Nov 2017 16:07:37 +0000
(17:07 +0100)
committer
Jack Humbert
<jack.humb@gmail.com>
Sun, 26 Nov 2017 22:55:24 +0000
(17:55 -0500)
shell.nix
patch
|
blob
|
blame
|
history
diff --git
a/shell.nix
b/shell.nix
index
302899c
..
ce17dd4
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;