Skip to content

Commit

Permalink
Support GHC 9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ffaf1 committed Apr 24, 2024
1 parent 3395fa1 commit da6bdef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cabal/src/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ configure verbosity hcPath hcPkgPath conf0 = do
(userMaybeSpecifyPath "ghc" hcPath conf0)
let implInfo = ghcVersionImplInfo ghcVersion

-- Cabal currently supports ghc >= 7.0.1 && < 9.10
-- Cabal currently supports ghc >= 7.0.1 && < 9.12
-- ... and the following odd development version
unless (ghcVersion < mkVersion [9, 10]) $
unless (ghcVersion < mkVersion [9, 12]) $
warn verbosity $
"Unknown/unsupported 'ghc' version detected "
++ "(Cabal "
++ prettyShow cabalVersion
++ " supports 'ghc' version < 9.10): "
++ " supports 'ghc' version < 9.12): "
++ programPath ghcProg
++ " is version "
++ prettyShow ghcVersion
Expand Down

0 comments on commit da6bdef

Please sign in to comment.