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
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ stdenv.mkDerivation rec {
|
|||
makeWrapper $out/opt/minecraft-launcher/minecraft-launcher $out/bin/minecraft-launcher \
|
||||
--prefix LD_LIBRARY_PATH : ${envLibPath} \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ jre ]} \
|
||||
--set JAVA_HOME ${stdenv.lib.makeBinPath [ jre ]} \
|
||||
--set JAVA_HOME ${stdenv.lib.getBin jre} \
|
||||
--run "cd /tmp" \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue