Skip to content

Commit

Permalink
Extend support-window to accomodate GHC HEAD which has been bumped to…
Browse files Browse the repository at this point in the history
… v8.7
  • Loading branch information
hvr committed Jun 22, 2018
1 parent 48d7b60 commit 3b98a57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cabal/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ configure verbosity hcPath hcPkgPath conf0 = do
(userMaybeSpecifyPath "ghc" hcPath conf0)
let implInfo = ghcVersionImplInfo ghcVersion

-- Cabal currently supports ghc >= 6.11 && < 8.7
unless (ghcVersion < mkVersion [8,7]) $
-- Cabal currently supports ghc >= 6.11 && < 8.8
unless (ghcVersion < mkVersion [8,8]) $
warn verbosity $
"Unknown/unsupported 'ghc' version detected "
++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.7): "
++ "(Cabal " ++ display cabalVersion ++ " supports 'ghc' version < 8.8): "
++ programPath ghcProg ++ " is version " ++ display ghcVersion

-- This is slightly tricky, we have to configure ghc first, then we use the
Expand Down

0 comments on commit 3b98a57

Please sign in to comment.