~ruther/qmk_firmware

833ec84921569ce8b2351cb48dac368bd9648e35 — Roman Volosatovs 7 years ago 53ad737
shell.nix: add teensy loader
1 files changed, 3 insertions(+), 2 deletions(-)

M shell.nix
M shell.nix => shell.nix +3 -2
@@ 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;