Browse Source

reform2-keyboard: add shell.nix

Enter a shell with the AVR toolchain by running `nix-shell` in the
reform2-keyboard directory.
Emery Hemingway 3 years ago
parent
commit
cf074c5eff
1 changed files with 8 additions and 0 deletions
  1. 8 0
      reform2-keyboard-fw/shell.nix

+ 8 - 0
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
+  ];
+}