1

Fix darwin arm64 case in .envrc for loading bazel

This commit is contained in:
Ken Micklas 2022-02-10 18:20:56 -05:00 committed by Motiejus Jakštys
parent 8e72cf89ec
commit dc138b490a

2
.envrc
View File

@ -17,7 +17,7 @@ case "$(uname | tr A-Z a-z)-$(uname -m)" in
bzl=$(direnv fetchurl "${_u}linux-arm64" sha256-wd5oYN1PjV4uwnAJe9RtaiEblxoLizhVl4S9BR6pUKE=);; bzl=$(direnv fetchurl "${_u}linux-arm64" sha256-wd5oYN1PjV4uwnAJe9RtaiEblxoLizhVl4S9BR6pUKE=);;
darwin-x86_64) darwin-x86_64)
bzl=$(direnv fetchurl "${_u}darwin-amd64" sha256-5IW7+EUy0CpgsOsjxwJhC1QI3zoZkIek8rXgmVu/LVo=);; bzl=$(direnv fetchurl "${_u}darwin-amd64" sha256-5IW7+EUy0CpgsOsjxwJhC1QI3zoZkIek8rXgmVu/LVo=);;
darwin-aarch64) darwin-arm64)
bzl=$(direnv fetchurl "${_u}darwin-arm64" sha256-wi1IYBRm2dOwQ8zXQFHy9CMPm59FCfCXAXyXMDqojRM=);; bzl=$(direnv fetchurl "${_u}darwin-arm64" sha256-wi1IYBRm2dOwQ8zXQFHy9CMPm59FCfCXAXyXMDqojRM=);;
*) *)
>&2 echo "unsupported architecture tuple $(uname | tr A-Z a-z)-$(uname -m)" >&2 echo "unsupported architecture tuple $(uname | tr A-Z a-z)-$(uname -m)"