ngrok-2: fix aarch64-darwin logic

authored by Jonathan Ringer and committed by Jonathan Ringer e977f0f1 0c85b23e

+2 -1
+2 -1
pkgs/tools/networking/ngrok-2/default.nix
··· 9 9 else if stdenv.isAarch64 then "arm64" 10 10 else throw "Unsupported architecture"; 11 11 os = if stdenv.isLinux then "linux" 12 - else if stdenv.isDarwin then "darwin" 12 + else if (stdenv.isDarwin && stdenv.isx86_64) then "darwin" 13 + else if stdenv.isDarwin then throw "Unsupported architecture" 13 14 else throw "Unsupported os"; 14 15 versionInfo = versions."${os}-${arch}"; 15 16 inherit (versionInfo) version sha256 url;