[Haskell-cafe] ghc-mod and cabal targets

Francesco Mazzoli f at mazzo.li
Fri Feb 8 11:20:56 CET 2013


At Fri, 08 Feb 2013 11:11:06 +0100,
CJ van den Berg wrote:
> Hi Francesco,
> 
> To keep ghc-mod happy, you also have to keep ghci happy. What you
> probably need is a .ghci file in the directory with a ":set -isrc" line
> in it. You may also need to add other stuff to .ghci such as language
> extensions and whatever else is needed to load your project with ghci.

Hi CJ,

Thanks for your answer.

I had tried to do that (actually I had modified ‘ghc-ghc-options’, but the
result should be the same), but it doesn’t fix the issue - and I don’t see why
it should, since the problem here is about not satisfying a package dependency.

Francesco



More information about the Haskell-Cafe mailing list