about summary refs log tree commit diff
path: root/doc/languages-frameworks/android.section.md
diff options
context:
space:
mode:
authorHadi <hadilashkari@gmail.com>2022-12-27 18:26:10 -0500
committerHadi <hadilashkari@gmail.com>2023-01-27 18:15:47 -0500
commit9c4e43ab70c506875684619f30d6d16f093e87d5 (patch)
tree0d19d3528ec482feab2580fc032e03becd8851d1 /doc/languages-frameworks/android.section.md
parent293421378efae3ec34cf7a7dce3e80bd4fc11159 (diff)
downloadnixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar.gz
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar.bz2
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar.lz
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar.xz
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.tar.zst
nixlib-9c4e43ab70c506875684619f30d6d16f093e87d5.zip
androidenv: Implement cmdline-tools and patcher
- Replace cmdline-tools with tools because tools is obsolete now.
- Depend emulator package to systemImages

androidenv: fix issues on the PR

androidenv: reformat

androidenv: support excluding of `tools` package

androidenv: provide `tools`, and `build-tools`, dependencies

androidenv: replace includeTools with toolsVersion

androidenv: fix a typo

androidenv: add tests to check licenses and installed packages

androidenv: check if tests are running! this commit should fail!

androidenv: fix problems in the review https://github.com/NixOS/nixpkgs/pull/208793

androidenv: add test-suite to handle more tests around

androidenv: fix the test after couldn't running them with ofborg

Update pkgs/development/mobile/androidenv/build-tools.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

androidenv: Resolving https://github.com/NixOS/nixpkgs/pull/208793#discussion_r1065851539

Update pkgs/development/mobile/androidenv/cmdline-tools.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/development/mobile/androidenv/tools.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

androidenv: fix a typo
Diffstat (limited to 'doc/languages-frameworks/android.section.md')
-rw-r--r--doc/languages-frameworks/android.section.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/languages-frameworks/android.section.md b/doc/languages-frameworks/android.section.md
index 15b8d3839b19..6f9717ca09cc 100644
--- a/doc/languages-frameworks/android.section.md
+++ b/doc/languages-frameworks/android.section.md
@@ -13,6 +13,7 @@ with import <nixpkgs> {};
 
 let
   androidComposition = androidenv.composeAndroidPackages {
+    cmdLineToolsVersion = "8.0";
     toolsVersion = "26.1.1";
     platformToolsVersion = "30.0.5";
     buildToolsVersions = [ "30.0.3" ];
@@ -42,7 +43,10 @@ exceptions are the tools, platform-tools and build-tools sub packages.
 
 The following parameters are supported:
 
-* `toolsVersion`, specifies the version of the tools package to use
+* `cmdLineToolsVersion `, specifies the version of the `cmdline-tools` package to use
+* `toolsVersion`, specifies the version of the `tools` package. Notice `tools` is
+  obsolete, and currently only `26.1.1` is available, so there's not a lot of
+  options here, however, you can set it as `null` if you don't want it.
 * `platformsToolsVersion` specifies the version of the `platform-tools` plugin
 * `buildToolsVersions` specifies the versions of the `build-tools` plugins to
   use.