X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=shell.nix;h=715414f96af31ef4ff94b562ee6b0839b9a98543;hb=48a992f1c037658bbacccefd2709ffdcda8bb345;hp=302899c52b71be2fcb8e94cb50856802536bde42;hpb=1ad941e98454237d269057d5f68cc1e76ca35dd4;p=qmk_firmware.git diff --git a/shell.nix b/shell.nix index 302899c52..715414f96 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,6 @@ -{ pkgs ? import {} -, avr ? true, arm ? true }: +# dfu-programmer doesn't have darwin on it's list of supported platforms +{ pkgs ? import { config = { allowUnsupportedSystem = true; }; } +, avr ? true, arm ? true, teensy ? true }: with pkgs; let @@ -18,8 +19,9 @@ stdenv.mkDerivation { name = "qmk-firmware"; buildInputs = [ dfu-programmer dfu-util diffutils git ] - ++ lib.optional avr [ avrbinutils avrgcc avrlibc ] - ++ lib.optional arm [ gcc-arm-embedded ]; + ++ lib.optional avr [ avrbinutils avrgcc avrlibc avrdude ] + ++ lib.optional arm [ gcc-arm-embedded ] + ++ lib.optional teensy [ teensy-loader-cli ]; CFLAGS = lib.optional avr avr_incflags; ASFLAGS = lib.optional avr avr_incflags;