<div dir="ltr"><div><div><div><div>Are you talking about this bug?<br><br><a href="https://github.com/haskell/cabal/issues/1919">https://github.com/haskell/cabal/issues/1919</a><br><br></div>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.<br><br></div>To deal with problem 2, I use Cartel:<br><br><a href="https://hackage.haskell.org/package/cartel">https://hackage.haskell.org/package/cartel</a><br><br></div>which brings its own problems but also solves other problems and so it's the best solution I've found.<br><br></div>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.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 9:17 PM, Maurizio Vitale <span dir="ltr"><<a href="mailto:mrz.vtl@gmail.com" target="_blank">mrz.vtl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm getting:</div><div><br></div><div>cabal: internal error when calculating transitive package dependencies.</div><div>Debug info: []</div><div><br></div><div>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)</div><div><br></div><div>is there any known workaround?</div><div><br></div><div>Thanks,</div><div><br></div><div>  Maurizio</div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>