Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getComponents :: (Applicative m, IOish m, Gm m) => m [GmComponent GMCRaw ChEntrypoint]
- getGhcMergedPkgOptions :: (Applicative m, IOish m, Gm m) => m [GHCOption]
- getCabalPackageDbStack :: (IOish m, Gm m) => m [GhcPkgDb]
- prepareCabalHelper :: (IOish m, GmEnv m, GmOut m, GmLog m) => m ()
- withAutogen :: (IOish m, GmEnv m, GmOut m, GmLog m) => m a -> m a
Documentation
getComponents :: (Applicative m, IOish m, Gm m) => m [GmComponent GMCRaw ChEntrypoint] Source #
Primary interface to cabal-helper and intended single entrypoint to
constructing GmComponent
s
The Component's gmcHomeModuleGraph
will be empty and has to be resolved by
resolveGmComponents
.
getGhcMergedPkgOptions :: (Applicative m, IOish m, Gm m) => m [GHCOption] Source #
Only package related GHC options, sufficient for things that don't need to access home modules