From f2bae1a71962c5b1e91004a200d7d02d7c92a9a3 Mon Sep 17 00:00:00 2001 From: Evan Travers Date: Fri, 7 Jun 2024 12:21:25 -0500 Subject: [PATCH] Add a simple shell.nix to bring in qmk Solves: https://github.com/qmk/qmk_userspace/issues/8 --- .envrc | 1 + shell.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000000..1d953f4bd7 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000000..8f27110433 --- /dev/null +++ b/shell.nix @@ -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 + ]; +}