
14 May
2014
14 May
'14
8:29 a.m.
Hi Carlo, On Wed, May 14, 2014 at 05:34:44AM +0000, Carlo Hamalainen wrote:
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\" ]
cabal-cargs[1] might be of help: $> cabal-cargs --format=pure --only=package_db /home/dan/projekte/layers/.cabal-sandbox/x86_64-linux-ghc-7.6.3-packages.conf.d Greetings, Daniel [1] https://github.com/dan-t/cabal-cargs