-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to respect buildable: False and flags for dependency tracking #50
Comments
Looking at this in more detail: this looks like a cabal bug that @chrisdone didn't replicate, resulting in a bug. For some reason I can't comprehend, it seems that setting |
Tracked it down: haskell/cabal#2602 |
And it's a dupe of an older one: haskell/cabal#1725 |
This is terrible. Cabal is half-broken: in some places it correctly ignores buildable:False stanzas. In other places, it doesn't. Chris was using one of the non-broken pieces of the Cabal code base, which meant that we were (correctly) getting a smaller dependency set for some packages. Unfortunately, this didn't jive with Cabal's broken view of the world, which decided we didn't have all necessary dependencies installed. Solution: copy the (correctly implemeneted) allBuildInfo function from Cabal and break it in the same way that the other parts of Cabal are broken. I vomited a little in my mouth while typing that.
OK, |
Just to be clear, is this a |
This is a |
The cabal bug looks like it's fixed. Should this issue be reopened? |
I haven't tracked down exactly what the problem is yet, but somehow I'm seeing that vector-algorithms's dependency on mwc-random - which is in an executable which is off by default - is causing build failures.
The text was updated successfully, but these errors were encountered: