Skip to content

Commit d5fe6db

Browse files
committed
Remove dead code
1 parent a111f67 commit d5fe6db

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Stack/Package.hs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
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)
14871485
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
14931486
forM_ (Hpack.resultWarnings r) prettyWarnS
14941487
let cabalFile = styleFile . fromString . Hpack.resultCabalFile $ r
14951488
case Hpack.resultStatus r of

0 commit comments

Comments
 (0)