diff --git a/text.cabal b/text.cabal
index b549e5a55802a0c97d0e085d9e0067fdd165f498..ab7afb3e0085586975983fc582ed5102e91bf9ef 100644
--- a/text.cabal
+++ b/text.cabal
@@ -135,10 +135,10 @@ library
 
   build-depends:
     array      == 0.5.*,
-    base       == 4.14.*,
+    base       == 4.14.* || == 4.13.* || == 4.12.*,
     binary     == 0.8.*,
     deepseq    >= 1.1.0.0 && < 1.5,
-    ghc-prim   == 0.6.*,
+    ghc-prim   == 0.6.* || == 0.5.*,
     bytestring >= 0.10.4 && < 0.11
 
   ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2