ports/devel/stack/files/patch-src_Stack_Setup.hs
Mikael Urankar b8b32707f3 devel/stack: Add aarch64 support.
Approved by:		arrowd
Differential Revision:	https://reviews.freebsd.org/D32221
2021-10-01 14:51:04 +02:00

12 lines
579 B
Haskell

https://github.com/commercialhaskell/stack/pull/5622
--- src/Stack/Setup.hs.orig 2021-07-19 21:35:32 UTC
+++ src/Stack/Setup.hs
@@ -1266,6 +1266,7 @@ getOSKey platform =
Platform Arm Cabal.Linux -> return "linux-armv7"
Platform AArch64 Cabal.Linux -> return "linux-aarch64"
Platform Sparc Cabal.Linux -> return "linux-sparc"
+ Platform AArch64 Cabal.FreeBSD -> return "freebsd-aarch64"
Platform arch os -> throwM $ UnsupportedSetupCombo os arch
downloadOrUseLocal