···99 else if stdenv.isAarch64 then "arm64"
1010 else throw "Unsupported architecture";
1111 os = if stdenv.isLinux then "linux"
1212- else if stdenv.isDarwin then "darwin"
1212+ else if (stdenv.isDarwin && stdenv.isx86_64) then "darwin"
1313+ else if stdenv.isDarwin then throw "Unsupported architecture"
1314 else throw "Unsupported os";
1415 versionInfo = versions."${os}-${arch}";
1516 inherit (versionInfo) version sha256 url;