[Haskell-cafe] Get "cabal repl" to dump ghc options?
Carlo Hamalainen
carlo at carlo-hamalainen.net
Wed May 14 05:34:44 UTC 2014
Hi,
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
\"/home/carlo/foo/.cabal-sandbox/x86_64-linux-ghc-7.6.3-packages.conf.d\",SpecificPackageDB
\"dist/package.conf.inplace\"
]
Basically it would be nice to get the contents of replOpts just before
this bit of code:
https://github.com/haskell/cabal/blob/master/Cabal/Distribution/Simple/GHC.hs#L792-L796
--
Carlo Hamalainen
http://carlo-hamalainen.net
More information about the Haskell-Cafe
mailing list