Skip to content

Commit

Permalink
Support GHC 9.12
Browse files Browse the repository at this point in the history
(cherry picked from commit da6bdef)
  • Loading branch information
ffaf1 authored and mergify[bot] committed Apr 24, 2024
1 parent 71f6949 commit 464e7a7
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 @@ -161,14 +161,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 464e7a7

Please sign in to comment.