platform-tools: allow aarch64-darwin

This commit is contained in:
Atemu 2022-04-20 20:43:45 +02:00
parent 928d976aa5
commit 1df306132b

View File

@ -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};
};