diff options
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..4e37ca9 --- /dev/null +++ b/shell.nix @@ -0,0 +1,20 @@ +let + sources = import ./npins; + pkgs = import sources.nixpkgs {}; +in + pkgs.mkShellNoCC { + packages = with pkgs; [ + just + zig + pkg-config + ]; + + buildInputs = with pkgs; [ + sdl3 + sdl3-mixer + ]; + + shellHook = '' + export PKG_CONFIG_PATH="${pkgs.sdl3.dev}/lib/pkgconfig:$PKG_CONFIG_PATH" + ''; + } |
