Import rhbz#2271914

This commit is contained in:
Jens Petersen 2024-12-02 22:58:30 +08:00
commit 7021e94a4a
6 changed files with 411 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- stack-2.15.7/src/Stack/Setup.hs~ 2024-05-12 22:50:14.000000000 +0800
+++ stack-2.15.7/src/Stack/Setup.hs 2024-08-02 01:11:32.252316054 +0800
@@ -2138,6 +2138,8 @@
Platform Sparc Cabal.Linux -> pure "linux-sparc"
Platform AArch64 Cabal.OSX -> pure "macosx-aarch64"
Platform AArch64 Cabal.FreeBSD -> pure "freebsd-aarch64"
+ Platform PPC64 Cabal.Linux -> pure "linux-ppc64"
+ Platform S390X Cabal.Linux -> pure "linux-s390x"
Platform arch os ->
prettyThrowM $ UnsupportedSetupCombo os arch tool toolDir programsDir