diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 85dc6cca7ddf22769e707b0ce99ccbb1f5ba1f07..3a881cac89e005b51baf15c60b24f2063c1d8c4f 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -44,7 +44,7 @@ library
 
   -- this package typically supports only single major versions
   build-depends: base            ^>= 4.16.0
-               , ghc             ^>= 9.7
+               , ghc             ^>= 9.9
                , ghc-paths       ^>= 0.1.0.12
                , haddock-library ^>= 1.11
                , xhtml           ^>= 3000.2.2
diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal
index c7f5c25def75497901fb91ac5b0118165a91c03a..50210eca69fb8de121ec8bd9c6583a89c3b67dc5 100644
--- a/haddock-library/haddock-library.cabal
+++ b/haddock-library/haddock-library.cabal
@@ -40,8 +40,8 @@ common lib-defaults
 
   build-depends:
     , base         >= 4.5     && < 4.20
-    , containers   ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1
-    , text         ^>= 1.2.3.0 || ^>= 2.0
+    , containers   ^>= 0.4.2.1 || ^>= 0.5.0.0 || ^>= 0.6.0.1 || ^>= 0.7
+    , text         ^>= 1.2.3.0 || ^>= 2.0 || ^>= 2.1
     , parsec       ^>= 3.1.13.0
 
   ghc-options: -funbox-strict-fields -Wall