Timothy Sample <samp...@ngyro.com> writes: > Hi, > > Ricardo Wurmus <rek...@elephly.net> writes: > >> [...] >> >> It seems to me that this is a more general problem affecting all of our >> Haskell packages. The configure phase that you didn’t paste should show >> that modules are provided by slightly different packages. >> >> The haskell-build-system suffers from non-determinism. It might just be >> limited to the package database files that are generated by ghc-pkg >> (where readdir is used and the result isn’t sorted). > > This is exactly the problem. I’ve attached a patch that should fix > this. Unfortunately, I kind of rediscovered this from scratch, so for > the sake of completeness, here’s all the details of what I found. > [...]
Interesting. Thanks for taking the time to write up this analysis.