File tree 1 file changed +2
-4
lines changed
cabal-install/Distribution/Client
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1112,7 +1112,7 @@ elaborateInstallPlan verbosity platform compiler compilerprogdb pkgConfigDB
1112
1112
-- Only non-Custom or sufficiently recent Custom
1113
1113
-- scripts can be build per-component.
1114
1114
= (fromMaybe PD.Custom (PD.buildType pd) /= PD.Custom)
1115
- || PD.specVersion pd >= mkVersion [2,0 ,0]
1115
+ || PD.specVersion pd >= mkVersion [1,25 ,0]
1116
1116
-}
1117
1117
1118
1118
elab0 = elaborateSolverToCommon mapDep spkg
@@ -2357,9 +2357,7 @@ defaultSetupDeps compiler platform pkg =
2357
2357
-- breaking changes to the Cabal API that Setup.hs scripts use.
2358
2358
-- So for old custom Setup scripts that do not specify explicit
2359
2359
-- constraints, we constrain them to use a compatible Cabal version.
2360
- -- The exact version where we'll make this API break has not yet been
2361
- -- decided, so for the meantime we guess at 2.x.
2362
- cabalCompatMaxVer = mkVersion [2 ]
2360
+ cabalCompatMaxVer = mkVersion [1 ,25 ]
2363
2361
-- In principle we can talk to any old Cabal version, and we need to
2364
2362
-- be able to do that for custom Setup scripts that require older
2365
2363
-- Cabal lib versions. However in practice we have currently have
You can’t perform that action at this time.
0 commit comments