From 101c73b53473ddfb763d65058b80123991cfeb4f Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Mon, 29 Apr 2024 18:41:38 +0530 Subject: [PATCH] Support ghcup install for darwin arm64 --- packcheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packcheck.sh b/packcheck.sh index 1a061a0..0cdefc2 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -911,6 +911,7 @@ ghcup_install() { case "$os" in "Linux x86_64") GHCUP_ARCH="x86_64-linux" ;; "Darwin x86_64") GHCUP_ARCH="x86_64-apple-darwin" ;; + "Darwin arm64") GHCUP_ARCH="aarch64-apple-darwin" ;; *) echo "Unknown OS/Arch: $os"; exit 1;; esac