Skip to content
Snippets Groups Projects
Commit 8b1baf49 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Update custom-setup lower bounds for GHC 8.8 (c.f. #415)

(previous update was 2ecdf137)
parent 5f05e67b
No related branches found
No related tags found
No related merge requests found
......@@ -1077,6 +1077,7 @@ planPackages verbosity comp platform solver SolverSettings{..}
-- respective major Cabal version bundled with the respective GHC
-- release).
--
-- GHC 8.8 needs Cabal >= 3.0
-- GHC 8.6 needs Cabal >= 2.4
-- GHC 8.4 needs Cabal >= 2.2
-- GHC 8.2 needs Cabal >= 2.0
......@@ -1089,11 +1090,8 @@ 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,6,1] = mkVersion [2,4]
-- GHC 8.6alpha2 (GHC 8.6.0.20180714) still shipped with a
-- devel snapshot of Cabal-2.3.0.0; the rule below can be
-- dropped at some point
| isGHC, compVer >= mkVersion [8,6] = mkVersion [2,3]
| isGHC, compVer >= mkVersion [8,8] = mkVersion [3,0]
| isGHC, compVer >= mkVersion [8,6] = mkVersion [2,4]
| isGHC, compVer >= mkVersion [8,4] = mkVersion [2,2]
| isGHC, compVer >= mkVersion [8,2] = mkVersion [2,0]
| isGHC, compVer >= mkVersion [8,0] = mkVersion [1,24]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment