switched to JDK for gdx

This commit is contained in:
Leyla Becker 2025-06-23 17:01:25 -05:00
parent b4755365ba
commit fb757e9d1c

View file

@ -2,7 +2,7 @@
stdenv,
fetchurl,
makeWrapper,
jre_headless,
jdk,
lib,
xorg,
libGL,
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
install -Dm644 $src $out/lib/gdx-liftoff-${version}.jar
makeWrapper ${lib.getExe jre_headless} $out/bin/gdx-liftoff-${version} \
makeWrapper ${lib.getExe jdk} $out/bin/gdx-liftoff-${version} \
--append-flags "-jar $out/lib/gdx-liftoff-${version}.jar"\
${lib.optionalString stdenv.hostPlatform.isLinux "--prefix LD_LIBRARY_PATH : ${runtimeDependencies}"}
runHook postInstall