From 7ba7489c673e87a9a22ab892ede3faacafba8f9a Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 4 Oct 2016 12:00:50 -0700 Subject: [PATCH] Lower library compatibility version to 1.25, since 1.25 is dev series for 2.0. Signed-off-by: Edward Z. Yang (cherry picked from commit 54ce5f4ded67f34928fee672ae446033f4de9be5) --- cabal-install/Distribution/Client/ProjectPlanning.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cabal-install/Distribution/Client/ProjectPlanning.hs b/cabal-install/Distribution/Client/ProjectPlanning.hs index 4777ead9d9c..0069a4906cd 100644 --- a/cabal-install/Distribution/Client/ProjectPlanning.hs +++ b/cabal-install/Distribution/Client/ProjectPlanning.hs @@ -1710,9 +1710,7 @@ defaultSetupDeps compiler platform pkg = -- breaking changes to the Cabal API that Setup.hs scripts use. -- So for old custom Setup scripts that do not specify explicit -- constraints, we constrain them to use a compatible Cabal version. - -- The exact version where we'll make this API break has not yet been - -- decided, so for the meantime we guess at 2.x. - cabalCompatMaxVer = Version [2] [] + cabalCompatMaxVer = Version [1,25] [] -- In principle we can talk to any old Cabal version, and we need to -- be able to do that for custom Setup scripts that require older -- Cabal lib versions. However in practice we have currently have