diff options
| author | 2026-11-07 16:58:45 +0000 | |
|---|---|---|
| committer | 2026-11-16 00:02:30 +0000 | |
| commit | 6fb035821f4a92f29ab245920d7fb8db69c0c9b9 (patch) | |
| tree | 838eabcf13d231cf43f7814bb33e6498e9d1f969 /shell.nix | |
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..b4cae02 --- /dev/null +++ b/shell.nix @@ -0,0 +1,18 @@ +let + sources = import ./npins; + pkgs = import sources.nixpkgs { }; +in +pkgs.mkShell { + packages = with pkgs; [ + just + pkg-config + ]; + + buildInputs = with pkgs; [ + glfw + ]; + + shellHook = '' + export PKG_CONFIG_PATH="${pkgs.glfw.dev}/lib/pkgconfig:$PKG_CONFIG_PATH" + ''; +} |
