androidenv: add more context to os not found error
We don’t have android sdk available for aarch64, so this error happens a lot. Adding some context on what is going on makes this clearer.
This commit is contained in:
parent
1671eeda2d
commit
4acc434847
|
@ -26,7 +26,7 @@ let
|
||||||
# Determine the Android os identifier from Nix's system identifier
|
# Determine the Android os identifier from Nix's system identifier
|
||||||
os = if stdenv.system == "x86_64-linux" then "linux"
|
os = if stdenv.system == "x86_64-linux" then "linux"
|
||||||
else if stdenv.system == "x86_64-darwin" then "macosx"
|
else if stdenv.system == "x86_64-darwin" then "macosx"
|
||||||
else throw "No tarballs found for system architecture: ${stdenv.system}";
|
else throw "No Android SDK tarballs are available for system architecture: ${stdenv.system}";
|
||||||
|
|
||||||
# Generated Nix packages
|
# Generated Nix packages
|
||||||
packages = import ./generated/packages.nix {
|
packages = import ./generated/packages.nix {
|
||||||
|
|
Loading…
Reference in a new issue