Skip to content
Conveniently configure GHC's dynamic flags for use with Cabal projects
Haskell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
GHC
LICENSE
README.mkd
Setup.hs
cabal-ghc-dynflags.cabal

README.mkd

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 Cabal.

This library handles DynFlags configuration, using the Cabal library to determine how Cabal would have invoked GHC and configuring DynFlags appropriately.

See the Haddock documentation in GHC.Cabal for details.

Note that it is still necessary to run cabal build in a Cabal project tree before cagal-ghc-dynflags will be able to successfully run.

You can’t perform that action at this time.