diff options
author | Morgan Jones <me@numin.it> | 2024-05-27 03:21:50 -0700 |
---|---|---|
committer | Morgan Jones <me@numin.it> | 2024-06-03 23:01:44 -0700 |
commit | 859a6056d3311b4292b8585b86d3b35fbe483b9e (patch) | |
tree | 5b72356cc9fa1acca03cce84ddd1a17d8dbd8107 /pkgs/applications/editors/android-studio | |
parent | 2ac0fcce4232bb501ae44c1a741da5f4b586eb90 (diff) |
android-studio-full: init
This package provides Android Studio with a relatively complete
set of SDK and emulator packages.
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r-- | pkgs/applications/editors/android-studio/common.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index b47c1ff9b0cd..ca7c4aa1bbdd 100644 --- a/pkgs/applications/editors/android-studio/common.nix +++ b/pkgs/applications/editors/android-studio/common.nix @@ -65,6 +65,7 @@ , zlib , makeDesktopItem , tiling_wm # if we are using a tiling wm, need to set _JAVA_AWT_WM_NONREPARENTING in wrapper +, androidenv }: let @@ -253,9 +254,12 @@ let ''; preferLocalBuild = true; allowSubstitutes = false; - passthru = { - unwrapped = androidStudio; + passthru = let withSdk = androidSdk: mkAndroidStudioWrapper { inherit androidStudio androidSdk; }; + in { + unwrapped = androidStudio; + full = withSdk androidenv.androidPkgs.androidsdk; + inherit withSdk; }; meta = with lib; { description = "The Official IDE for Android (${channel} channel)"; |