ghc-options: Utilities for extracting GHC options needed to compile a given Haskell target.

[ language, library, mit, program ] [ Propose Tags ]

ghcopts is a library that makes it easy to determine what GHC options are needed to compile a file. It was built by extracting the relevant code from hdevtools which queries cabal and stack to determine the locations of various package databases, in order to pass them to GHC to process a target file. We have refactored this code into a separate package so that it can be used by other tools built on the GHC API.




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Dependencies base (>=4.8 && <4.9), bin-package-db, Cabal (>=1.22), directory, filepath, ghc (>=7.10.2), ghc-paths, process, transformers, unix [details]
License MIT
Author Ranjit Jhala
Category Language
Home page
Uploaded by ranjitjhala at 2015-12-16T18:57:08Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ghcopts
Downloads 1397 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-16 [all 1 reports]