Skip to content

Commit 805e1ef

Browse files
committed
Bump internal-libraries test to GHC 9.4.5.
1 parent dd25f3e commit 805e1ef

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
import Control.Monad ( unless )
21
import StackTest
32

43
main :: IO ()
5-
-- See https://github.com/haskell/cabal/issues/7763. On macOS (Apple silicon),
6-
-- fails with Cabal error:
7-
-- "Cabal-simple_SvXsv1f__3.2.1.0_ghc-8.10.7: Cannot build some foreign libraries:
8-
-- Building foreign libraries is currently only supported on OSX, Linux and
9-
-- Windows"
10-
main = unless ( isAarch64 && isMacOSX ) $ do
4+
main = do
115
-- The '--install-ghc' flag is passed here, because etc/scripts/release.hs
126
-- passes `--no-install-ghc` when `--alpine` is passed to its 'check'
137
-- command.
14-
stack ["--install-ghc", "setup"] -- See stack.yaml; using GHC 8.10.7
8+
stack ["--install-ghc", "setup"] -- See stack.yaml; using GHC 9.4.5
159
stack ["build"]

test/integration/tests/internal-libraries/files/stack.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,10 @@
1111
# See https://github.com/haskell/cabal/issues/7763, which includes "Cabal is
1212
# currently unable to build foreign libraries with GHC 9.0 or 9.2." 'Currently'
1313
# refers to Cabal versions before 3.8.
14-
resolver: ghc-8.10.7
14+
#
15+
# Also see https://github.com/haskell/cabal/issues/7763. On macOS (Apple
16+
# silicon), fails with resolver: ghc-8.10.7 with Cabal error:
17+
# "Cabal-simple_SvXsv1f__3.2.1.0_ghc-8.10.7: Cannot build some foreign libraries:
18+
# Building foreign libraries is currently only supported on OSX, Linux and
19+
# Windows"
20+
resolver: ghc-9.4.5

0 commit comments

Comments
 (0)