aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
index 330a57a..07f9a1c 100644
--- a/shell.nix
+++ b/shell.nix
@@ -11,5 +11,11 @@ pkgs.mkShell {
temurin-bin-17
reuse
pre-commit
+ glfw
+ libGL
];
+ shellHook = ''
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.glfw}/lib"
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.libGL}/lib"
+ '';
}