Skip to content

Commit

Permalink
Support ghc-9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Dec 20, 2024
1 parent 5ec4dd1 commit a9377c2
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 @@ -163,14 +163,14 @@ configure verbosity hcPath hcPkgPath conf0 = do
(userMaybeSpecifyPath "ghc" hcPath conf0)
let implInfo = ghcVersionImplInfo ghcVersion

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

0 comments on commit a9377c2

Please sign in to comment.