mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-12 01:43:13 +00:00
fix: remove optionalAttrs for Android SDK env vars
The assert in compose.nix was removed in master, so ANDROID_SDK_ROOT and ANDROID_NDK_HOME can be set unconditionally again. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
71a5b0dd3e
commit
d17039da81
@ -104,13 +104,13 @@ in stdenv.mkDerivation {
|
||||
cp library/libwaku.h $out/include/
|
||||
'';
|
||||
|
||||
ANDROID_SDK_ROOT = "${pkgs.androidPkgs.sdk}";
|
||||
ANDROID_NDK_HOME = "${pkgs.androidPkgs.ndk}";
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "NWaku derivation to build libwaku for mobile targets using Android NDK and Rust.";
|
||||
homepage = "https://github.com/status-im/nwaku";
|
||||
license = licenses.mit;
|
||||
platforms = stableSystems;
|
||||
};
|
||||
} // lib.optionalAttrs (abidir != null) {
|
||||
ANDROID_SDK_ROOT = "${pkgs.androidPkgs.sdk}";
|
||||
ANDROID_NDK_HOME = "${pkgs.androidPkgs.ndk}";
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user