cabal-ghc-dynflags — GHC API for Cabal packges
This package is intended for use by developers of
Haskell tooling built against the
GHC API. One major hurtle when using the API is
configuring GHC's dynamic flags (
DynFlags), especially when running against
code usually built by
This library handles
DynFlags configuration, using the
Cabal library to
determine how Cabal would have invoked GHC and configuring
See the Haddock documentation in
GHC.Cabal for details.
Note that it is still necessary to run
cabal build in a Cabal project tree
cagal-ghc-dynflags will be able to successfully run.