mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 01:39:18 +02:00
nix: add NDK toolchain binaries to PATH
Otherwise gradle is unable to strip native binary and the resulting .apk is 85M instead of 59M.
This commit is contained in:
parent
dc94b8614d
commit
e56f24b014
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@
|
|||
devShells.default = pkgs.mkShell {
|
||||
ANDROID_SDK_ROOT = "${android-sdk}/share/android-sdk";
|
||||
ANDROID_NDK_ROOT =
|
||||
"${android-sdk}/share/android-sdk/ndk/23.2.8568313/";
|
||||
"${android-sdk}/share/android-sdk/ndk/23.2.8568313";
|
||||
shellHook = ''
|
||||
export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/:$PATH"
|
||||
'';
|
||||
buildInputs = [
|
||||
android-sdk
|
||||
(pkgs.buildPackages.rust-bin.stable."1.64.0".minimal.override {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue