mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-14 00:22:44 +03:00
9ff9bbdb34
* 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>
16 lines
591 B
Markdown
16 lines
591 B
Markdown
# 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](../../../README.md#package-tests), and [Writing larger package tests](../../../README.md#writing-larger-package-tests), then run tests locally with:
|
|
|
|
```shell
|
|
$ export NIXPKGS_ALLOW_UNFREE=1
|
|
$ cd path/to/nixpkgs
|
|
$ nix-build -A androidenv.test-suite.tests
|
|
```
|