[Haskell-cafe] cabal haddock --executables

Omari Norman omari at smileystation.com
Thu Apr 2 13:06:35 UTC 2015

Are you talking about this bug?


I'm not sure what you mean by "local" library.  My workaround is not to
have the executables depend on the library that's in the same package.
That leads to two problems: 1) longer compile times, and 2) duplication in
the Cabal file.

To deal with problem 2, I use Cartel:


which brings its own problems but also solves other problems and so it's
the best solution I've found.

But Cartel does not help with problem 1.  One solution to that problem is
to split the executables into different packages.  That's no fun either.

On Wed, Apr 1, 2015 at 9:17 PM, Maurizio Vitale <mrz.vtl at gmail.com> wrote:

> I'm getting:
> cabal: internal error when calculating transitive package dependencies.
> Debug info: []
> and it seems this has been a problem for quite some while (and it has to
> do with the executable depending on a local library)
> is there any known workaround?
> Thanks,
>   Maurizio
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150402/fb7d7a7c/attachment.html>

More information about the Haskell-Cafe mailing list