[Haskell-cafe] Get "cabal repl" to dump ghc options?

Carlo Hamalainen carlo at carlo-hamalainen.net
Wed May 14 05:34:44 UTC 2014


The cabal repl command works out a bunch of GHC options. Is there any
way to dump these options without actually starting the repl?

In particular, things like this:

ghcOptPackageDBs = [ GlobalPackageDB
                   , SpecificPackageDB

Basically it would be nice to get the contents of replOpts just before
this bit of code:


Carlo Hamalainen

More information about the Haskell-Cafe mailing list