mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
Merge pull request #304716 from asyncmeow/fix-compose-android-packages
androidenv: fix compose-android-packages on non-x86_64 environments
This commit is contained in:
commit
01ec8ad898
@ -27,8 +27,8 @@
|
||||
|
||||
let
|
||||
# Determine the Android os identifier from Nix's system identifier
|
||||
os = if stdenv.system == "x86_64-linux" then "linux"
|
||||
else if stdenv.system == "x86_64-darwin" then "macosx"
|
||||
os = if stdenv.isLinux then "linux"
|
||||
else if stdenv.isDarwin then "macosx"
|
||||
else throw "No Android SDK tarballs are available for system architecture: ${stdenv.system}";
|
||||
|
||||
# Uses mkrepo.rb to create a repo spec.
|
||||
|
Loading…
Reference in New Issue
Block a user