nixpkgs/pkgs/development/mobile/androidenv
2023-11-05 14:31:44 +01:00
..
examples
ndk-bundle
.gitignore
build-app.nix
build-tools.nix
cmake.nix
cmdline-tools.nix
compose-android-packages.nix
default.nix
deploy-androidpackages.nix
emulate-app.nix
emulator.nix
fetchrepo.sh
generate.sh
mkrepo.rb
mkrepo.sh
patcher.nix
platform-tools.nix
querypackages.sh
README.md
repo.json
test-suite.nix
tools.nix

How to update

  1. ./fetchrepo.sh
  2. ./mkrepo.sh
  3. Check the repo.json diff for new stable versions of tools, platform-tools, build-tools, emulator and/or ndk
  4. Update the relevant argument defaults in compose-android-packages.nix

How to run tests

You may need to make yourself familiar with tests, and Writing larger package tests in the Manual, then run tests locally with:

$ export NIXPKGS_ALLOW_UNFREE=1
$ cd path/to/nixpkgs
$ nix-build -A androidenv.test-suite.tests