X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=shell.nix;h=715414f96af31ef4ff94b562ee6b0839b9a98543;hb=98b16b3294e4b04e6621daba8cff07fbd982f335;hp=ce17dd41e8d6d1ebd8101eb5a0b343cb6f3c013f;hpb=833ec84921569ce8b2351cb48dac368bd9648e35;p=qmk_firmware.git diff --git a/shell.nix b/shell.nix index ce17dd41e..715414f96 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,5 @@ -{ pkgs ? import {} +# 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; @@ -18,7 +19,7 @@ stdenv.mkDerivation { name = "qmk-firmware"; buildInputs = [ dfu-programmer dfu-util diffutils git ] - ++ lib.optional avr [ avrbinutils avrgcc avrlibc ] + ++ lib.optional avr [ avrbinutils avrgcc avrlibc avrdude ] ++ lib.optional arm [ gcc-arm-embedded ] ++ lib.optional teensy [ teensy-loader-cli ];