File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11{-# LANGUAGE NoImplicitPrelude #-}
2- {-# LANGUAGE CPP #-}
32{-# LANGUAGE LambdaCase #-}
43{-# LANGUAGE TupleSections #-}
54{-# LANGUAGE ScopedTypeVariables #-}
@@ -1483,13 +1482,7 @@ hpack pkgDir = do
14831482 config <- view configL
14841483 case configOverrideHpack config of
14851484 HpackBundled -> do
1486- #if MIN_VERSION_hpack(0,26,0)
1487- r <- liftIO $ Hpack. hpackResult $ Hpack. setTarget (toFilePath hpackFile) Hpack. defaultOptions
1488- #elif MIN_VERSION_hpack(0,23,0)
1489- r <- liftIO $ Hpack. hpackResult Hpack. defaultRunOptions {Hpack. runOptionsConfigDir = Just (toFilePath pkgDir)} Hpack. NoForce
1490- #else
1491- r <- liftIO $ Hpack. hpackResult (Just $ toFilePath pkgDir) Hpack. NoForce
1492- #endif
1485+ r <- liftIO $ Hpack. hpackResult $ Hpack. setProgramName " stack" $ Hpack. setTarget (toFilePath hpackFile) Hpack. defaultOptions
14931486 forM_ (Hpack. resultWarnings r) prettyWarnS
14941487 let cabalFile = styleFile . fromString . Hpack. resultCabalFile $ r
14951488 case Hpack. resultStatus r of
Original file line number Diff line number Diff line change 1919extra-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
You can’t perform that action at this time.
0 commit comments