The ghc-options package

[ Tags: 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.


Dependencies base (==4.8.*), 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 Wed Dec 16 18:57:08 UTC 2015 by ranjitjhala
Executables ghcopts
Downloads 423 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-16 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees