Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
parsonsmatt committed Nov 6, 2024
1 parent 4cb674e commit e7f4251
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cabal/src/Distribution/Simple/PreProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import Distribution.Compat.Prelude
import Distribution.Compat.Stack
import Prelude ()

import Control.Concurrent.Async
import Distribution.Backpack.DescribeUnitId
import qualified Distribution.InstalledPackageInfo as Installed
import Distribution.ModuleName (ModuleName)
Expand Down Expand Up @@ -167,7 +166,7 @@ preprocessComponent pd comp lbi clbi isSrcDist verbosity handlers =
++ [autogenComponentModulesDir lbi clbi, autogenPackageModulesDir lbi]
let hndlrs = localHandlers bi
mods <- orderingFromHandlers verbosity dirs hndlrs (allLibModules lib clbi)
for_ $
for_ (map moduleNameSymbolicPath mods) $
pre dirs (componentBuildDir lbi clbi) hndlrs
(CFLib flib@ForeignLib{foreignLibBuildInfo = bi}) -> do
debug verbosity $ "Preprocessing foreign library: " <> prettyShow (foreignLibName flib)
Expand Down Expand Up @@ -326,7 +325,6 @@ preprocessFile mbWorkDir searchLoc buildLoc forSDist baseFile verbosity builtinS
++ getSymbolicPath baseFile
++ " in "
++ intercalate ", " (map getSymbolicPath searchLoc)

Just (psrcLoc, psrcRelFile) -> do
debug verbosity $ " Found pre-processable file: " <> prettyShow psrcLoc
let (srcStem, ext) = splitExtension $ getSymbolicPath psrcRelFile
Expand Down

0 comments on commit e7f4251

Please sign in to comment.