androidStudioPackages: change --set JAVA_HOME to --set-default in wrapper

This commit is contained in:
meutraa 2021-02-24 09:54:30 +00:00
parent 4d0c9f2c27
commit 7230b47079
No known key found for this signature in database
GPG key ID: 82664A5F8DAC3400

View file

@ -72,8 +72,8 @@ let
installPhase = ''
cp -r . $out
wrapProgram $out/bin/studio.sh \
--set-default JAVA_HOME "$out/jre" \
--set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
--set JAVA_HOME "$out/jre" \
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
--set FONTCONFIG_FILE ${fontsConf} \
--prefix PATH : "${lib.makeBinPath [