https://github.com/bgamari/cabal-ghc-dynflags
Conveniently configure GHC's dynamic flags for use with Cabal projects
https://github.com/bgamari/cabal-ghc-dynflags
Last synced: over 1 year ago
JSON representation
Conveniently configure GHC's dynamic flags for use with Cabal projects
- Host: GitHub
- URL: https://github.com/bgamari/cabal-ghc-dynflags
- Owner: bgamari
- License: bsd-3-clause
- Created: 2015-08-14T20:31:15.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-16T13:23:52.000Z (almost 11 years ago)
- Last Synced: 2025-04-06T13:17:18.672Z (over 1 year ago)
- Language: Haskell
- Size: 137 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
- License: LICENSE
Awesome Lists containing this project
README
# cabal-ghc-dynflags — GHC API for Cabal packges
This package is intended for use by developers of
[Haskell](http://www.haskell.org) tooling built against the
[GHC](http://ghc.haskell.org/) 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.