mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-08 09:19:10 +00:00
allow building with nix on darwin
add avrdude do dependency list
This commit is contained in:
parent
8ffeaec3aa
commit
1f5d5e5314
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs ? import <nixpkgs> {}
|
# dfu-programmer doesn't have darwin on it's list of supported platforms
|
||||||
|
{ pkgs ? import <nixpkgs> { config = { allowUnsupportedSystem = true; }; }
|
||||||
, avr ? true, arm ? true, teensy ? true }:
|
, avr ? true, arm ? true, teensy ? true }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
@ -18,7 +19,7 @@ stdenv.mkDerivation {
|
||||||
name = "qmk-firmware";
|
name = "qmk-firmware";
|
||||||
|
|
||||||
buildInputs = [ dfu-programmer dfu-util diffutils git ]
|
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 arm [ gcc-arm-embedded ]
|
||||||
++ lib.optional teensy [ teensy-loader-cli ];
|
++ lib.optional teensy [ teensy-loader-cli ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue