Skip to content

Commit 888f6e4

Browse files
committed
Require hpack >= 0.29.6
1 parent d5fe6db commit 888f6e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies:
6161
- generic-deriving
6262
- hackage-security
6363
- hashable
64-
- hpack >= 0.29
64+
- hpack >= 0.29.6
6565
- hpc
6666
- http-client
6767
- http-client-tls

src/Stack/Package.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ hpack pkgDir = do
14821482
config <- view configL
14831483
case configOverrideHpack config of
14841484
HpackBundled -> do
1485-
r <- liftIO $ Hpack.hpackResult $ Hpack.setTarget (toFilePath hpackFile) Hpack.defaultOptions
1485+
r <- liftIO $ Hpack.hpackResult $ Hpack.setProgramName "stack" $ Hpack.setTarget (toFilePath hpackFile) Hpack.defaultOptions
14861486
forM_ (Hpack.resultWarnings r) prettyWarnS
14871487
let cabalFile = styleFile . fromString . Hpack.resultCabalFile $ r
14881488
case Hpack.resultStatus r of

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ flags:
1919
extra-deps:
2020
- Cabal-2.2.0.1@rev:0
2121
- infer-license-0.2.0@rev:0
22-
- hpack-0.29.5@rev:0
22+
- hpack-0.29.6@rev:0
2323
- http-api-data-0.3.8.1@rev:0
2424
- githash-0.1.0.1@rev:0
2525

0 commit comments

Comments
 (0)