diff --git a/tmp-proc-redis.cabal b/tmp-proc-redis.cabal
--- a/tmp-proc-redis.cabal
+++ b/tmp-proc-redis.cabal
@@ -1,6 +1,6 @@
 cabal-version:      3.0
 name:               tmp-proc-redis
-version:            0.5.1.0
+version:            0.5.1.1
 synopsis:           Shows how to run redis as a tmp proc
 description:
   An example of using tmp-proc to launch dockerized redis in integration tests.
@@ -30,7 +30,7 @@
     , base        >=4.11     && <5
     , bytestring  >=0.10.8.2 && <0.12
     , hedis       >=0.10.4   && <0.16
-    , text        ^>=2.0
+    , text        >=1.2.3 && <2.2
     , tmp-proc    >=0.5.1.0  && <0.6.0.0
 
   default-language: Haskell2010
