build: support Nix host CMake and Ninja for Android native libraries

This commit is contained in:
Blendman974 committed 2026-11-06 00:25:36 +01:00
1 parent e1e48ec038
commit e915608b1a
3 files changed
+18 -2

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@ The committed `devenv.lock` pins the environment inputs.
The environment provides Node 22/npm, Java 21, Android SDK/platform 35,
build-tools 35.0.0/35.0.1 (app and NativeScript plugins), NDK 27, CMake,
Git/GitHub CLI, Python and build utilities.
Git/GitHub CLI, Python and build utilities. `ANDROID_CMAKE_HOME` selects the
Nix-patched CMake/Ninja pair for the native Android libraries (the SDK's bundled
Ninja can crash on NixOS). Other environments keep using the SDK's CMake.
Android SDK licenses are accepted through `devenv.yaml`. Gradle uses the
Nix-patched SDK aapt2. Gradle itself comes from the repository's wrapper.
The emulator and system images are omitted. `NS_SKIP_ENV_CHECK=1` bypasses