<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I would use cabal-plan: <a href="https://hackage.haskell.org/package/cabal-plan" class="">https://hackage.haskell.org/package/cabal-plan</a><div class=""><br class=""></div><div class="">there’s a subcommand, cabal-plan dot, which produces output suitable for graphviz: <a href="https://graphviz.org" class="">https://graphviz.org</a></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Vanessa McHale<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 13, 2022, at 7:10 AM, Henry Laxen <<a href="mailto:nadine.and.henry@pobox.com" class="">nadine.and.henry@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Dear Haskell friends,<br class=""><br class="">Is there a way to discover why a certain package is being compiled? In my<br class="">case, the package cryptonite is a dependency of some other package, but I<br class="">don't know which one. cryptonite doesn't compile on GHC 9.2.2, so if I can<br class="">find out which package is causing it to be selected, perhaps I can work around<br class="">my code so it (my code) does not depend on that package. I hope I am making<br class="">myself clear. Any pointers would be appreciated.<br class="">Best wishes, <br class="">Nadine and Henry Laxen The rest is silence<br class="">_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></div></blockquote></div><br class=""></div></body></html>