summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2022-04-20 20:43:45 +0200
committerAtemu <atemu.main@gmail.com>2022-04-20 20:43:45 +0200
commit1df306132b89d5d5ad9895a47efc3f76963963fc (patch)
tree116a30fcaba785aedb48bd6fca673940917bd618 /pkgs/development/mobile
parent928d976aa59dd45fc68bfb933e27c3453cddfe23 (diff)
downloadnixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar.gz
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar.bz2
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar.lz
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar.xz
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.tar.zst
nixpkgs-1df306132b89d5d5ad9895a47efc3f76963963fc.zip
platform-tools: allow aarch64-darwin
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/androidenv/compose-android-packages.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/mobile/androidenv/compose-android-packages.nix b/pkgs/development/mobile/androidenv/compose-android-packages.nix
index 85e96584e5f..10c20a9bd52 100644
--- a/pkgs/development/mobile/androidenv/compose-android-packages.nix
+++ b/pkgs/development/mobile/androidenv/compose-android-packages.nix
@@ -120,7 +120,8 @@ rec {
   };
 
   platform-tools = import ./platform-tools.nix {
-    inherit deployAndroidPackage os autoPatchelfHook pkgs lib;
+    inherit deployAndroidPackage autoPatchelfHook pkgs lib;
+    os = if stdenv.system == "aarch64-darwin" then "macosx" else os; # "macosx" is a universal binary here
     package = packages.platform-tools.${platformToolsVersion};
   };