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