diff options
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" + ''; +} |
