mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
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:
parent
3becdf52ec
commit
ae2ad0fd54
1 changed files with 5 additions and 3 deletions
|
@ -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
|
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.
|
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,
|
Once you have Nix with Flakes feature set up start the development environment shell:
|
||||||
run `nix develop` to start development environment shell.
|
```
|
||||||
|
nix develop
|
||||||
|
```
|
||||||
Nix development environment contains Rust with cross-compilation toolchains and Android SDK.
|
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:
|
To [build an APK](https://developer.android.com/studio/build/building-cmdline), run:
|
||||||
```
|
```
|
||||||
$ scripts/ndk-make.sh
|
$ scripts/ndk-make.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue