Skip to content

Commit 708b516

Browse files
committed
stack setup supports installing GHC for macOS aarch64 (M1)
1 parent 37cdf40 commit 708b516

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Behavior changes:
1313

1414
Other enhancements:
1515

16+
* `stack setup` supports installing GHC for macOS aarch64 (M1)
17+
1618
Bug fixes:
1719

1820
* Ensure that `extra-path` works for case-insensitive `PATH`s on Windows.

src/Stack/Setup.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,7 @@ getOSKey platform =
12661266
Platform Arm Cabal.Linux -> return "linux-armv7"
12671267
Platform AArch64 Cabal.Linux -> return "linux-aarch64"
12681268
Platform Sparc Cabal.Linux -> return "linux-sparc"
1269+
Platform AArch64 Cabal.OSX -> return "macosx-aarch64"
12691270
Platform arch os -> throwM $ UnsupportedSetupCombo os arch
12701271

12711272
downloadOrUseLocal

0 commit comments

Comments
 (0)