From 89d42b9ef44b845eaa105afe1b6379b680d9d3de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 23 Nov 2021 13:30:48 +0100 Subject: [PATCH] nix: fix gomobile builds requiring Android SDK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This works fine on `x86_64`, but will fail when used on `aarch64`. Issue: https://github.com/status-im/status-react/issues/12794 Signed-off-by: Jakub SokoĊ‚owski --- nix/overlay.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/overlay.nix b/nix/overlay.nix index a727f55c91..3406b338b0 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -42,6 +42,8 @@ in { allowHigher = true; }; gomobile = super.gomobile.override { + # FIXME: No Android SDK packages for aarch64-darwin. + withAndroidPkgs = stdenv.system != "aarch64-darwin"; androidPkgs = self.androidEnvCustom.compose; };