mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
ngrok-2: fix aarch64-darwin logic
This commit is contained in:
parent
0c85b23e25
commit
e977f0f112
@ -9,7 +9,8 @@ let versions = builtins.fromJSON (builtins.readFile ./versions.json);
|
||||
else if stdenv.isAarch64 then "arm64"
|
||||
else throw "Unsupported architecture";
|
||||
os = if stdenv.isLinux then "linux"
|
||||
else if stdenv.isDarwin then "darwin"
|
||||
else if (stdenv.isDarwin && stdenv.isx86_64) then "darwin"
|
||||
else if stdenv.isDarwin then throw "Unsupported architecture"
|
||||
else throw "Unsupported os";
|
||||
versionInfo = versions."${os}-${arch}";
|
||||
inherit (versionInfo) version sha256 url;
|
||||
|
Loading…
Reference in New Issue
Block a user