mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
minecraft: fix JAVA_HOME
JAVA_HOME should point to the root directory of the JRE, not the `bin` folder.
This commit is contained in:
parent
336fd62920
commit
0451efc553
@ -138,7 +138,7 @@ stdenv.mkDerivation rec {
|
|||||||
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
|
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
|
||||||
--prefix LD_LIBRARY_PATH : ${envLibPath} \
|
--prefix LD_LIBRARY_PATH : ${envLibPath} \
|
||||||
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
|
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
|
||||||
--set JAVA_HOME ${stdenv.lib.makeBinPath [ jre ]} \
|
--set JAVA_HOME ${stdenv.lib.getBin jre} \
|
||||||
--run "cd /tmp" \
|
--run "cd /tmp" \
|
||||||
"''${gappsWrapperArgs[@]}"
|
"''${gappsWrapperArgs[@]}"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user