Skip to content

Commit 09f918b

Browse files
authored
Merge pull request #8666 from Mikolaj/add-support-for-ghc-9.6
Bump known ghc versions in cabal library to < 9.8
2 parents 0db95ca + 4fde518 commit 09f918b

File tree

1 file changed

+3
-3
lines changed
  • Cabal/src/Distribution/Simple

1 file changed

+3
-3
lines changed

Cabal/src/Distribution/Simple/GHC.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,12 @@ configure verbosity hcPath hcPkgPath conf0 = do
140140
(userMaybeSpecifyPath "ghc" hcPath conf0)
141141
let implInfo = ghcVersionImplInfo ghcVersion
142142

143-
-- Cabal currently supports ghc >= 7.0.1 && < 9.6
143+
-- Cabal currently supports ghc >= 7.0.1 && < 9.8
144144
-- ... and the following odd development version
145-
unless (ghcVersion < mkVersion [9,6]) $
145+
unless (ghcVersion < mkVersion [9,8]) $
146146
warn verbosity $
147147
"Unknown/unsupported 'ghc' version detected "
148-
++ "(Cabal " ++ prettyShow cabalVersion ++ " supports 'ghc' version < 9.6): "
148+
++ "(Cabal " ++ prettyShow cabalVersion ++ " supports 'ghc' version < 9.8): "
149149
++ programPath ghcProg ++ " is version " ++ prettyShow ghcVersion
150150

151151
-- This is slightly tricky, we have to configure ghc first, then we use the

0 commit comments

Comments
 (0)