Add a simple shell.nix to bring in qmk

Solves: https://github.com/qmk/qmk_userspace/issues/8
This commit is contained in:
Evan Travers 2024-06-07 12:21:25 -05:00
parent 7672002109
commit f2bae1a719
2 changed files with 11 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix

10
shell.nix Normal file
View file

@ -0,0 +1,10 @@
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
qmk
];
}