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