Skip to content

Commit

Permalink
Resolve haskell#6420: setupMinCabalVersionConstraint require Cabal-3.…
Browse files Browse the repository at this point in the history
…2 for GHC-8.10
  • Loading branch information
phadej committed Dec 12, 2019
1 parent a093446 commit de96bac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cabal-install/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
-- TODO: long-term, this compatibility matrix should be
-- stored as a field inside 'Distribution.Compiler.Compiler'
setupMinCabalVersionConstraint
| isGHC, compVer >= mkVersion [8,10] = mkVersion [3,2]
| isGHC, compVer >= mkVersion [8,8] = mkVersion [3,0]
| isGHC, compVer >= mkVersion [8,6] = mkVersion [2,4]
| isGHC, compVer >= mkVersion [8,4] = mkVersion [2,2]
Expand Down

0 comments on commit de96bac

Please sign in to comment.