Are you talking about this bug?

https://github.com/haskell/cabal/issues/1919

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:

https://hackage.haskell.org/package/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@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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe