mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +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 \
|
||||
--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 New Issue
Block a user