forked from jan-leila/nix-config
switched to JDK for gdx
This commit is contained in:
parent
b4755365ba
commit
fb757e9d1c
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue