diff --git a/hpack-dhall.cabal b/hpack-dhall.cabal
--- a/hpack-dhall.cabal
+++ b/hpack-dhall.cabal
@@ -1,11 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.28.2.
+cabal-version: >= 1.10
+
+-- This file has been generated from package.dhall by hpack version 0.29.5.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 38e9ec5002ffc1e15956dcc564f84f57658610a5204fec5ff56d76d098689a1f
+-- hash: 5aa240e82d90764729d6746cb05e32e98ad0acd863464d3e0521a9d58c9185f0
 
 name:           hpack-dhall
-version:        0.2.0
+version:        0.3.0
 synopsis:       Dhall support for Hpack
 description:    This package allows you to use the Dhall configuration language to specify Haskell packages.
 category:       Development
@@ -14,7 +16,6 @@
 maintainer:     Simon Hengel <sol@typeful.net>
 license:        PublicDomain
 build-type:     Simple
-cabal-version:  >= 1.10
 
 source-repository head
   type: git
diff --git a/src/Hpack/Dhall.hs b/src/Hpack/Dhall.hs
--- a/src/Hpack/Dhall.hs
+++ b/src/Hpack/Dhall.hs
@@ -6,7 +6,7 @@
 import           Control.Monad.IO.Class
 import           Data.Bifunctor
 import           Data.Aeson
-import qualified Data.Text.Lazy.IO as LT
+import qualified Data.Text.IO as T
 import           System.Environment
 import qualified Dhall.Parser
 import qualified Dhall.Import
@@ -24,7 +24,7 @@
   _ <- liftResult $ Dhall.TypeCheck.typeOf expr
   liftResult $ Dhall.JSON.dhallToJSON expr
   where
-    readInput = liftIO (LT.readFile file)
+    readInput = liftIO (T.readFile file)
     parseExpr = liftResult . Dhall.Parser.exprFromText file
     liftResult = ExceptT . return . first show
 
diff --git a/test/Hpack/DhallSpec.hs b/test/Hpack/DhallSpec.hs
--- a/test/Hpack/DhallSpec.hs
+++ b/test/Hpack/DhallSpec.hs
@@ -23,14 +23,15 @@
         |]
         main
         readFile "foo.cabal" `shouldReturn` unindent [i|
+        cabal-version: >= 1.10
+
         -- This file has been generated from package.dhall by hpack version #{showVersion Hpack.version}.
         --
         -- see: https://github.com/sol/hpack
         --
-        -- hash: 19abf59677a84e0a8a49435b80f42f6007f6cdacd2b09c43514ab2b46d6c5927
+        -- hash: 98987c02e53bcdf76e4c3d2912c868d16f30f3115762548e41d337f436ffc1cc
 
         name:           foo
         version:        0.0.0
         build-type:     Simple
-        cabal-version:  >= 1.10
         |]
