Skip to content

Commit

Permalink
GHC 9.8 compat: bump base, update Unknown GHC
Browse files Browse the repository at this point in the history
And bump Cabal's "supported version" of GHC
  • Loading branch information
ulysses4ever authored and erikd committed Apr 21, 2024
1 parent e51e0e6 commit ddbface
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.8
-- Cabal currently supports ghc >= 7.0.1 && < 9.10
-- ... and the following odd development version
unless (ghcVersion < mkVersion [9, 8]) $
unless (ghcVersion < mkVersion [9, 10]) $
warn verbosity $
"Unknown/unsupported 'ghc' version detected "
++ "(Cabal "
++ prettyShow cabalVersion
++ " supports 'ghc' version < 9.8): "
++ " supports 'ghc' version < 9.10): "
++ programPath ghcProg
++ " is version "
++ prettyShow ghcVersion
Expand Down
4 changes: 2 additions & 2 deletions cabal-dev-scripts/cabal-dev-scripts.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ executable gen-spdx
ghc-options: -Wall
build-depends:
, aeson ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.1.1.0
, base >=4.10 && <4.19
, base >=4.10 && <4.20
, bytestring
, containers
, Diff ^>=0.4
Expand All @@ -35,7 +35,7 @@ executable gen-spdx-exc
ghc-options: -Wall
build-depends:
, aeson ^>=1.4.1.0 || ^>=1.5.2.0 || ^>=2.1.1.0
, base >=4.10 && <4.19
, base >=4.10 && <4.20
, bytestring
, containers
, Diff ^>=0.4
Expand Down

0 comments on commit ddbface

Please sign in to comment.