Merge pull request #212971 from B4dM4n/android-studio-java-home
android-studio: fix default JAVA_HOME path
This commit is contained in:
commit
35b2d417c3
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ let
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r . $out
|
cp -r . $out
|
||||||
wrapProgram $out/bin/studio.sh \
|
wrapProgram $out/bin/studio.sh \
|
||||||
--set-default JAVA_HOME "$out/jre" \
|
--set-default JAVA_HOME "$out/jbr" \
|
||||||
--set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
|
--set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
|
||||||
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
|
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
|
||||||
${lib.optionalString tiling_wm "--set _JAVA_AWT_WM_NONREPARENTING 1"} \
|
${lib.optionalString tiling_wm "--set _JAVA_AWT_WM_NONREPARENTING 1"} \
|
||||||
|
|
Loading…
Reference in a new issue