nixpkgs/pkgs/development/mobile/androidenv/README.md
Travis A. Everett 9ff9bbdb34
doc: add stdenv passthru chapter (#315909)
* doc: add stdenv passthru chapter

Broad strokes:
- create the chapter
- move existing stdenv passthru coverage into it
- move out-of-place coverage of passthru.tests from the stdenv meta chapter into it
- (try to) apply 1-sentence-per-line to text I've touched
- add legacy anchors for everything moved
- update existing links to the new anchors
- add tentative motivating text
- make nixpkgs-internal links relative/branchless

razor: if it is only ever needed by contributors, which is likely if links
refer to the latest revision of the source code, then it's for
the contributor guide

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-06-11 10:51:03 +02:00

591 B

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 package tests, and Writing larger package tests, then run tests locally with:

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