Skip to content

Commit 770df2f

Browse files
authored
Merge pull request #6794 from commercialhaskell/ghc-9.12
Treat GHC 9.12 and Cabal-3.14 as tested
2 parents 189a004 + aa985c1 commit 770df2f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ChangeLog.md

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

2323
Other enhancements:
2424

25+
* Consider GHC 9.12 to be a tested compiler and remove warnings.
26+
* Consider Cabal 3.14 to be a tested library and remove warnings.
2527
* From GHC 9.12.1, `base` is not a GHC wired-in package. In configuration files,
2628
the `notify-if-base-not-boot` key is introduced, to allow the exisitng
2729
notification to be muted if unwanted when using such GHC versions.

src/Stack/Setup.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,9 +1050,9 @@ warnUnsupportedCompiler ghcVersion = do
10501050
, flow "Valiantly attempting to run anyway, but this is doomed."
10511051
]
10521052
pure True
1053-
| ghcVersion >= mkVersion [9, 11] && notifyIfGhcUntested -> do
1053+
| ghcVersion >= mkVersion [9, 13] && notifyIfGhcUntested -> do
10541054
prettyWarnL
1055-
[ flow "Stack has not been tested with GHC versions 9.12 and above, \
1055+
[ flow "Stack has not been tested with GHC versions 9.14 and above, \
10561056
\and using"
10571057
, fromString (versionString ghcVersion) <> ","
10581058
, flow "this may fail."
@@ -1094,9 +1094,9 @@ warnUnsupportedCompilerCabal cp didWarn = do
10941094
, parens (style Shell "nightly-2018-03-13")
10951095
, flow "or later specify such GHC versions."
10961096
]
1097-
| cabalVersion >= mkVersion [3, 13] && notifyIfCabalUntested ->
1097+
| cabalVersion >= mkVersion [3, 15] && notifyIfCabalUntested ->
10981098
prettyWarnL
1099-
[ flow "Stack has not been tested with Cabal versions 3.14 and \
1099+
[ flow "Stack has not been tested with Cabal versions 3.16 and \
11001100
\above, but version"
11011101
, fromString (versionString cabalVersion)
11021102
, flow "was found, this may fail."

0 commit comments

Comments
 (0)