commit cf074c5eff21dc943a2ae19073d23834ee23620a parent 73bfefc7801452c7a852743cd47bdf07220d506d Author: Emery Hemingway <ehmry@posteo.net> Date: Fri, 31 Jul 2020 16:16:03 +0200 reform2-keyboard: add shell.nix Enter a shell with the AVR toolchain by running `nix-shell` in the reform2-keyboard directory. Diffstat:
A | reform2-keyboard-fw/shell.nix | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/reform2-keyboard-fw/shell.nix b/reform2-keyboard-fw/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import <nixpkgs> { } }: +pkgs.mkShell { + buildInputs = with pkgs; [ + dfu-programmer + pkgsCross.avr.buildPackages.gcc + pkgsCross.avr.buildPackages.binutils + ]; +}