aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFinn Behrens <me@kloenk.de>2021-06-01 09:48:35 +0200
committerFinn Behrens <me@kloenk.de>2021-06-01 09:48:35 +0200
commit9f1a7f9d370b17d760b5f97ae73118cabc099590 (patch)
tree50603a768b159cfba9d5cd158499a208e48e2518 /scripts
parent1fefe808f65f9545f2f112229bf38adc626aed07 (diff)
Include aarch64-darwin in installer
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.in12
1 files changed, 3 insertions, 9 deletions
diff --git a/scripts/install.in b/scripts/install.in
index f660e3807..39016d161 100755
--- a/scripts/install.in
+++ b/scripts/install.in
@@ -46,15 +46,9 @@ case "$(uname -s).$(uname -m)" in
system=x86_64-darwin
;;
Darwin.arm64|Darwin.aarch64)
- # check for Rosetta 2 support
- if ! [ -f /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ]; then
- oops "Rosetta 2 is not installed on this ARM64 macOS machine. Run softwareupdate --install-rosetta then restart installation"
- fi
-
- hash=@tarballHash_x86_64-darwin@
- path=@tarballPath_x86_64-darwin@
- # eventually maybe: aarch64-darwin
- system=x86_64-darwin
+ hash=@binaryTarball_aarch64-darwin@
+ path=@tarballPath_aarch64-darwin@
+ system=aarch64-darwin
;;
*) oops "sorry, there is no binary distribution of Nix for your platform";;
esac