[Haskell-cafe] ghc-mod and cabal targets

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Fri Feb 8 13:22:23 CET 2013


Hi,

> When I have a cabal file with a library and an executable depending on the
> library (for example here
> <https://github.com/bitonic/kant/blob/master/kant.cabal>), ghc-mod is not happy,
> complaining in every file that
> 
>     Error:<command line>: cannot satisfy -package kant
>
> Where ‘kant’ is the package that the cabal file defines with the library that
> the executable needs.  Note that if I issue ‘cabal configure; cabal build’,
> everything goes smoothly.

I guess you don't install the "kant" library, right?

If so, I will think how to treat this kind problem.

--Kazu


More information about the Haskell-Cafe mailing list