File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed 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)
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
You can’t perform that action at this time.
0 commit comments