android-studio: fix default JAVA_HOME path

This commit is contained in:
Fabian Möller 2023-01-27 15:09:17 +01:00
parent 1d597d744d
commit c6a482a2da
No known key found for this signature in database
GPG Key ID: 70B29D65DD8A7E31

View File

@ -79,7 +79,7 @@ let
installPhase = ''
cp -r . $out
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 QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
${lib.optionalString tiling_wm "--set _JAVA_AWT_WM_NONREPARENTING 1"} \