mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
androidStudioPackages: set JAVA_HOME in wrapper to bundled version
This commit is contained in:
parent
b49e5d4a7a
commit
337aecf983
1 changed files with 4 additions and 3 deletions
|
@ -73,6 +73,9 @@ let
|
|||
cp -r . $out
|
||||
wrapProgram $out/bin/studio.sh \
|
||||
--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 [
|
||||
|
||||
# Checked in studio.sh
|
||||
|
@ -139,9 +142,7 @@ let
|
|||
gnome_vfs
|
||||
glib
|
||||
GConf
|
||||
]}" \
|
||||
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
|
||||
--set FONTCONFIG_FILE ${fontsConf}
|
||||
]}"
|
||||
|
||||
# AS launches LLDBFrontend with a custom LD_LIBRARY_PATH
|
||||
wrapProgram $out/bin/lldb/bin/LLDBFrontend --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
|
||||
|
|
Loading…
Reference in a new issue