Update Build Using Nix section to use a code block instead of inline code, making it less likely somebody misses this step (like I did)

This commit is contained in:
Paul van Leeuwen 2023-07-11 22:37:43 +02:00 committed by GitHub
parent 3becdf52ec
commit ae2ad0fd54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,10 +30,12 @@ the easiest way is to use [The Determinate Nix Installer](https://github.com/Det
which installs Nix with [Flakes](https://nixos.wiki/wiki/Flakes) feature enabled out of the box
and can be cleanly uninstalled with `/nix/nix-installer uninstall` once you don't need it anymore.
Once you have Nix with Flakes feature set up,
run `nix develop` to start development environment shell.
Once you have Nix with Flakes feature set up start the development environment shell:
```
nix develop
```
Nix development environment contains Rust with cross-compilation toolchains and Android SDK.
To [build an APK](https://developer.android.com/studio/build/building-cmdline), run:
```
$ scripts/ndk-make.sh