mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
ngrok: fix build on aarch64-darwin
This commit is contained in:
parent
d75b67bfa4
commit
c612c5a555
1 changed files with 1 additions and 2 deletions
|
@ -9,8 +9,7 @@ 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 && stdenv.isx86_64) then "darwin"
|
||||
else if stdenv.isDarwin then throw "Unsupported architecture"
|
||||
else if stdenv.isDarwin then "darwin"
|
||||
else throw "Unsupported os";
|
||||
versionInfo = versions."${os}-${arch}";
|
||||
inherit (versionInfo) version sha256 url;
|
||||
|
|
Loading…
Reference in a new issue