Skip to content

Commit

Permalink
Merge pull request haskell#9928 from ffaf1/update-cabal-support
Browse files Browse the repository at this point in the history
Support GHC 9.12
  • Loading branch information
mergify[bot] authored Apr 24, 2024
2 parents 3395fa1 + da6bdef commit 8243ed2
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 8243ed2

Please sign in to comment.