diff options
| -rw-r--r-- | android/BuildInstructions.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md index b287342fd4..a58a993b49 100644 --- a/android/BuildInstructions.md +++ b/android/BuildInstructions.md @@ -177,6 +177,22 @@ Run the following command to build a debug build: ../android/build.sh --app-bundle ``` +## Build using nix devshell +1. Install the nix package manager by following the [official instructions](https://nixos.org/download/). +2. Enable the experimental `nix-command` and `flake` features by following [these instructions](https://nixos.wiki/wiki/flakes). +3. Launch a devshell (in `<repository>/android`) by running: + ```bash + nix develop + ``` +4. Build the app as usual by running for example: + ```bash + ./build.sh --dev-build + ``` + or + ```bash + ./gradlew assembleOssProdDebug + ``` + ## Configure signing key 1. Create a directory to store the signing key, keystore and its configuration: ``` |
