diff --git a/dhall-nix.cabal b/dhall-nix.cabal
--- a/dhall-nix.cabal
+++ b/dhall-nix.cabal
@@ -1,5 +1,5 @@
 Name: dhall-nix
-Version: 1.1.1
+Version: 1.1.2
 Cabal-Version: >=1.8.0.2
 Build-Type: Simple
 Tested-With: GHC == 8.0.1
@@ -30,13 +30,13 @@
         base                      >= 4.8.0.0 && < 5   ,
         containers                              < 0.6 ,
         data-fix                                < 0.3 ,
-        dhall                     >= 1.11.0  && < 1.12,
-        hnix                      >= 0.3.4   && < 0.4 ,
+        dhall                     >= 1.12    && < 1.13,
+        formatting                >= 6.3     && < 6.4 ,
+        hnix                      >= 0.3.4   && < 0.5 ,
         insert-ordered-containers >= 0.1.0.1 && < 0.3 ,
         neat-interpolation                      < 0.4 ,
         scientific                              < 0.4 ,
-        text                      >= 0.8.0.0 && < 1.3 ,
-        text-format                             < 0.4
+        text                      >= 0.8.0.0 && < 1.3
     Exposed-Modules:
         Dhall.Nix
     GHC-Options: -Wall
diff --git a/src/Dhall/Nix.hs b/src/Dhall/Nix.hs
--- a/src/Dhall/Nix.hs
+++ b/src/Dhall/Nix.hs
@@ -114,10 +114,10 @@
 import qualified Data.HashMap.Strict.InsOrd
 import qualified Data.Map
 import qualified Data.Text
-import qualified Data.Text.Buildable
 import qualified Data.Text.Lazy
 import qualified Data.Text.Lazy.Builder
 import qualified Dhall.Core
+import qualified Formatting.Buildable
 import qualified NeatInterpolation
 
 {-| This is the exception type for all possible errors that might arise when
@@ -183,7 +183,7 @@
 Nix
 |]
       where
-        builder = Data.Text.Buildable.build v
+        builder = Formatting.Buildable.build v
 
         txt =
             Data.Text.Lazy.toStrict (Data.Text.Lazy.Builder.toLazyText builder)
