patch stack setup for ppc64le and s390 (backport)
To avoid: I don't know how to install GHC for (Linux,PPC64), please install manually
This commit is contained in:
parent
649e766bae
commit
416302fefa
2 changed files with 18 additions and 2 deletions
11
stack-Setup-Platforms.patch
Normal file
11
stack-Setup-Platforms.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- stack-2.7.5/src/Stack/Setup.hs~ 2024-07-08 21:24:36.825860660 +0800
|
||||
+++ stack-2.7.5/src/Stack/Setup.hs 2024-07-08 21:26:16.500759387 +0800
|
||||
@@ -1261,6 +1261,8 @@
|
||||
Platform Sparc Cabal.Linux -> return "linux-sparc"
|
||||
Platform AArch64 Cabal.OSX -> return "macosx-aarch64"
|
||||
Platform AArch64 Cabal.FreeBSD -> return "freebsd-aarch64"
|
||||
+ Platform PPC64 Cabal.Linux -> pure "linux-ppc64"
|
||||
+ Platform S390 Cabal.Linux -> pure "linux-s390"
|
||||
Platform arch os -> throwM $ UnsupportedSetupCombo os arch
|
||||
|
||||
downloadOrUseLocal
|
||||
Loading…
Add table
Add a link
Reference in a new issue