Skip to content

Commit 192fa5a

Browse files
ffaf1mergify[bot]
authored andcommitted
Update setupMinCabalVersionConstraint
(cherry picked from commit ecb174d)
1 parent b5ac2f7 commit 192fa5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cabal-install/src/Distribution/Client/ProjectPlanning.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,6 +1369,7 @@ planPackages
13691369
-- TODO: long-term, this compatibility matrix should be
13701370
-- stored as a field inside 'Distribution.Compiler.Compiler'
13711371
setupMinCabalVersionConstraint
1372+
| isGHC, compVer >= mkVersion [9, 10] = mkVersion [3, 12]
13721373
| isGHC, compVer >= mkVersion [9, 6] = mkVersion [3, 10]
13731374
| isGHC, compVer >= mkVersion [9, 4] = mkVersion [3, 8]
13741375
| isGHC, compVer >= mkVersion [9, 2] = mkVersion [3, 6]

0 commit comments

Comments
 (0)