aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
index 865c75c..dbbeb28 100644
--- a/shell.nix
+++ b/shell.nix
@@ -11,10 +11,12 @@ pkgs.mkShell {
reuse
pre-commit
glfw
+ jdk21
libGL
];
shellHook = ''
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.glfw}/lib"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.libGL}/lib"
+ export JAVA_HOME=${pkgs.jdk21}
'';
}