From ae2ad0fd54e31f1d7730cde73cce34095aa361c2 Mon Sep 17 00:00:00 2001 From: Paul van Leeuwen <908808+pjvleeuwen@users.noreply.github.com> Date: Tue, 11 Jul 2023 22:37:43 +0200 Subject: [PATCH] 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) --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 449647ace..9184ae2d6 100644 --- a/README.md +++ b/README.md @@ -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