diff --git a/test/cabal.project.local b/test/cabal.project.local index 59c077bf3..7d32b6d98 100644 --- a/test/cabal.project.local +++ b/test/cabal.project.local @@ -4,12 +4,16 @@ if impl(ghc>=9.10.1) -- be very careful to only extend it for absolutely necessary packages -- otherwise we risk running into broken build-plans down the line. allow-newer: *:base, *:template-haskell, *:bytestring, *:text, *:ghc-prim, *:deepseq, *:Cabal + if impl(ghc > 9.11) allow-newer: *:containers, *:time constraints: base-compat >=0.14.0, aeson >=2.2.1.0 -- From https://ghc.gitlab.haskell.org/head.hackage/cabal.constraints constraints: extra ==1.7.14 +if impl(ghc >9.13) + constraints: base-orphans <0.9.3 || >0.9.3 + -- This prevents hsc2hs from causing old versions of packages from being added to plan.json allow-newer: hsc2hs:*