diff --git a/changelog.md b/changelog.md
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,8 @@
 The [latest version](https://github.com/blockscope/hpack-dhall/blob/master/changelog.md) of this changelog.
 
+## 0.5.7 - Bump hpack and test versions
+* Require `hpack ^>= 0.35` and pin extra-deps for stack build and tests.
+
 ## 0.5.6 - Relax hpack version upper bound
 * Relax hpack bounds to `hpack >= 0.34.7` for stackage build.
 
diff --git a/hpack-dhall.cabal b/hpack-dhall.cabal
--- a/hpack-dhall.cabal
+++ b/hpack-dhall.cabal
@@ -5,7 +5,7 @@
 -- see: https://github.com/sol/hpack
 
 name:           hpack-dhall
-version:        0.5.6
+version:        0.5.7
 synopsis:       hpack's dhalling
 description:    Use hpack phrasing in dhall to write cabal files.
                 .
@@ -136,7 +136,7 @@
     , dhall >=1.41.1
     , dhall-json >=1.7.10
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , prettyprinter
@@ -165,7 +165,7 @@
     , dhall >=1.41.1
     , dhall-json >=1.7.10
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , optparse-applicative
@@ -195,7 +195,7 @@
     , dhall >=1.41.1
     , dhall-json >=1.7.10
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , optparse-applicative
@@ -225,7 +225,7 @@
     , dhall >=1.41.1
     , dhall-json >=1.7.10
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , optparse-applicative
@@ -255,7 +255,7 @@
     , dhall >=1.41.1
     , dhall-json >=1.7.10
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , optparse-applicative
@@ -287,7 +287,7 @@
     , dhall-json >=1.7.10
     , directory
     , filepath
-    , hpack >=0.34.7
+    , hpack ==0.35.*
     , megaparsec >=9.2
     , microlens
     , prettyprinter
diff --git a/package.dhall b/package.dhall
--- a/package.dhall
+++ b/package.dhall
@@ -6,7 +6,7 @@
       , "dhall >= 1.41.1"
       , "dhall-json >= 1.7.10"
       , "filepath"
-      , "hpack >= 0.34.7"
+      , "hpack ^>= 0.35"
       , "megaparsec >= 9.2"
       , "microlens"
       , "prettyprinter"
@@ -18,7 +18,7 @@
 in  let exe-deps = [ "optparse-applicative" ]
 
     in  { name = "hpack-dhall"
-        , version = "0.5.6"
+        , version = "0.5.7"
         , maintainer = "Phil de Joux <phil.dejoux@blockscope.com>"
         , copyright =
             "© 2018 - 2022 Phil de Joux, © 2018 - 2022 Block Scope Limited"
diff --git a/test-suite-golden/test-files/key/empty-inferred/package.yaml.cabal b/test-suite-golden/test-files/key/empty-inferred/package.yaml.cabal
--- a/test-suite-golden/test-files/key/empty-inferred/package.yaml.cabal
+++ b/test-suite-golden/test-files/key/empty-inferred/package.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.7.
+-- This file has been generated from package.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/key/empty-package.yaml.cabal b/test-suite-golden/test-files/key/empty-package.yaml.cabal
--- a/test-suite-golden/test-files/key/empty-package.yaml.cabal
+++ b/test-suite-golden/test-files/key/empty-package.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from empty-package.yaml by hpack version 0.34.7.
+-- This file has been generated from empty-package.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/key/import-local/package.yaml.cabal b/test-suite-golden/test-files/key/import-local/package.yaml.cabal
--- a/test-suite-golden/test-files/key/import-local/package.yaml.cabal
+++ b/test-suite-golden/test-files/key/import-local/package.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.7.
+-- This file has been generated from package.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/key/import-relative/package.yaml.cabal b/test-suite-golden/test-files/key/import-relative/package.yaml.cabal
--- a/test-suite-golden/test-files/key/import-relative/package.yaml.cabal
+++ b/test-suite-golden/test-files/key/import-relative/package.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.34.7.
+-- This file has been generated from package.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/key/when-dependencies.yaml.cabal b/test-suite-golden/test-files/key/when-dependencies.yaml.cabal
--- a/test-suite-golden/test-files/key/when-dependencies.yaml.cabal
+++ b/test-suite-golden/test-files/key/when-dependencies.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from when-dependencies.yaml by hpack version 0.34.7.
+-- This file has been generated from when-dependencies.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/key/with-GHC2021.yaml.cabal b/test-suite-golden/test-files/key/with-GHC2021.yaml.cabal
--- a/test-suite-golden/test-files/key/with-GHC2021.yaml.cabal
+++ b/test-suite-golden/test-files/key/with-GHC2021.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from with-GHC2021.yaml by hpack version 0.34.7.
+-- This file has been generated from with-GHC2021.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/real-world/hpack/hpack.yaml.cabal b/test-suite-golden/test-files/real-world/hpack/hpack.yaml.cabal
--- a/test-suite-golden/test-files/real-world/hpack/hpack.yaml.cabal
+++ b/test-suite-golden/test-files/real-world/hpack/hpack.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 1.12
 
--- This file has been generated from hpack.yaml by hpack version 0.34.7.
+-- This file has been generated from hpack.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
diff --git a/test-suite-golden/test-files/real-world/stack/stack.cabal b/test-suite-golden/test-files/real-world/stack/stack.cabal
--- a/test-suite-golden/test-files/real-world/stack/stack.cabal
+++ b/test-suite-golden/test-files/real-world/stack/stack.cabal
@@ -1,10 +1,10 @@
 cabal-version: 2.0
 
--- This file has been generated from stack.dhall by hpack version 0.34.6.
+-- This file has been generated from stack.dhall by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: bfcbd657ff704d7cafe4abe83a8f7bf038b7009b840ff4a688a4ee05fbafd000
+-- hash: 645c43bbed2e4ee44172441652f686f9df4f80fe34991062b018c2410e276567
 
 name:           stack
 version:        1.10.0
@@ -280,6 +280,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -297,7 +298,6 @@
         src/unix/
     c-sources:
         src/unix/cbits/uname.c
-  default-language: Haskell2010
 
 executable stack
   main-is: Main.hs
@@ -394,6 +394,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -414,7 +415,6 @@
     cpp-options: -DHIDE_DEP_VERSIONS
   if flag(supported-build)
     cpp-options: -DSUPPORTED_BUILD
-  default-language: Haskell2010
 
 test-suite stack-integration-test
   type: exitcode-stdio-1.0
@@ -511,6 +511,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -522,7 +523,6 @@
         unix
   if !flag(integration-tests)
     buildable: False
-  default-language: Haskell2010
 
 test-suite stack-test
   type: exitcode-stdio-1.0
@@ -621,6 +621,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -630,4 +631,3 @@
         hsc2hs
     build-depends:
         unix
-  default-language: Haskell2010
diff --git a/test-suite-golden/test-files/real-world/stack/stack.cabal.golden b/test-suite-golden/test-files/real-world/stack/stack.cabal.golden
--- a/test-suite-golden/test-files/real-world/stack/stack.cabal.golden
+++ b/test-suite-golden/test-files/real-world/stack/stack.cabal.golden
@@ -1,10 +1,10 @@
 cabal-version: 2.0
 
--- This file has been generated from stack.dhall by hpack version 0.34.6.
+-- This file has been generated from stack.dhall by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: bfcbd657ff704d7cafe4abe83a8f7bf038b7009b840ff4a688a4ee05fbafd000
+-- hash: 645c43bbed2e4ee44172441652f686f9df4f80fe34991062b018c2410e276567
 
 name:           stack
 version:        1.10.0
@@ -280,6 +280,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -297,7 +298,6 @@
         src/unix/
     c-sources:
         src/unix/cbits/uname.c
-  default-language: Haskell2010
 
 executable stack
   main-is: Main.hs
@@ -394,6 +394,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -414,7 +415,6 @@
     cpp-options: -DHIDE_DEP_VERSIONS
   if flag(supported-build)
     cpp-options: -DSUPPORTED_BUILD
-  default-language: Haskell2010
 
 test-suite stack-integration-test
   type: exitcode-stdio-1.0
@@ -511,6 +511,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -522,7 +523,6 @@
         unix
   if !flag(integration-tests)
     buildable: False
-  default-language: Haskell2010
 
 test-suite stack-test
   type: exitcode-stdio-1.0
@@ -621,6 +621,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -630,4 +631,3 @@
         hsc2hs
     build-depends:
         unix
-  default-language: Haskell2010
diff --git a/test-suite-golden/test-files/real-world/stack/stack.yaml.cabal b/test-suite-golden/test-files/real-world/stack/stack.yaml.cabal
--- a/test-suite-golden/test-files/real-world/stack/stack.yaml.cabal
+++ b/test-suite-golden/test-files/real-world/stack/stack.yaml.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.0
 
--- This file has been generated from stack.yaml by hpack version 0.34.7.
+-- This file has been generated from stack.yaml by hpack version 0.35.0.
 --
 -- see: https://github.com/sol/hpack
 
@@ -278,6 +278,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -295,7 +296,6 @@
         src/unix/
     c-sources:
         src/unix/cbits/uname.c
-  default-language: Haskell2010
 
 executable stack
   main-is: Main.hs
@@ -392,6 +392,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -412,7 +413,6 @@
     cpp-options: -DHIDE_DEP_VERSIONS
   if flag(supported-build)
     cpp-options: -DSUPPORTED_BUILD
-  default-language: Haskell2010
 
 test-suite stack-integration-test
   type: exitcode-stdio-1.0
@@ -509,6 +509,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -520,7 +521,6 @@
         unix
   if !flag(integration-tests)
     buildable: False
-  default-language: Haskell2010
 
 test-suite stack-test
   type: exitcode-stdio-1.0
@@ -619,6 +619,7 @@
     , yaml
     , zip-archive
     , zlib
+  default-language: Haskell2010
   if os(windows)
     cpp-options: -DWINDOWS
     build-depends:
@@ -628,4 +629,3 @@
         hsc2hs
     build-depends:
         unix
-  default-language: Haskell2010
