Skip to content

Commit 8243ed2

Browse files
authored
Merge pull request #9928 from ffaf1/update-cabal-support
Support GHC 9.12
2 parents 3395fa1 + da6bdef commit 8243ed2

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ configure verbosity hcPath hcPkgPath conf0 = do
162162
(userMaybeSpecifyPath "ghc" hcPath conf0)
163163
let implInfo = ghcVersionImplInfo ghcVersion
164164

165-
-- Cabal currently supports ghc >= 7.0.1 && < 9.10
165+
-- Cabal currently supports ghc >= 7.0.1 && < 9.12
166166
-- ... and the following odd development version
167-
unless (ghcVersion < mkVersion [9, 10]) $
167+
unless (ghcVersion < mkVersion [9, 12]) $
168168
warn verbosity $
169169
"Unknown/unsupported 'ghc' version detected "
170170
++ "(Cabal "
171171
++ prettyShow cabalVersion
172-
++ " supports 'ghc' version < 9.10): "
172+
++ " supports 'ghc' version < 9.12): "
173173
++ programPath ghcProg
174174
++ " is version "
175175
++ prettyShow ghcVersion

0 commit comments

Comments
 (0)