aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorGravatar Marina Barros <azulmarina799@gmail.com> 2026-11-07 16:58:45 +0000
committerGravatar Marina Barros <azulmarina799@gmail.com> 2026-11-16 00:02:30 +0000
commit6fb035821f4a92f29ab245920d7fb8db69c0c9b9 (patch)
tree838eabcf13d231cf43f7814bb33e6498e9d1f969 /shell.nix
commit inicial: GLFW e janela vaziaHEADmain
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix18
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"
+ '';
+}