Document how to build proot derivation
Some checks failed
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled

This commit is contained in:
Shelvacu 2025-10-23 12:55:20 -07:00 committed by Alexander Sosedkin
parent 1c306c07b3
commit 55b6449b45

View file

@ -160,6 +160,13 @@ the android device this store path will be downloaded from the binary cache
derivation has to be present there or in any other binary cache configured
in the `nix.conf` on the device.
If you want to build that proot derivation (possibly to put it in your own cache):
```sh
# must run on a linux-x86_64 system (cross-compile only)
nix build ".#prootTermux-aarch64"
```
Obviously it's an annoyance if one wants to fork this repo and test something.
To minimize the hassle with this scenario, proot derivation is also bundled
with the bootstrap zipball. This way you only need your own binary cache