-
Notifications
You must be signed in to change notification settings - Fork 843
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
Solver happy but no build plan #1150
Comments
I haven't been able to look into this in detail yet, but
|
Yes, that's what I ended up doing in order to get the build through. |
Problem determined: solver is currently ignoring changes in flags when the package version remains the same. |
Aha, yes, that would explain it. So then you have a test case for when you get around to fixing it :) |
PR #1583 should fix the problems discussed here and more. With that change solver detects the flag changes and also it uses a snapshot resolver with only required extra dependencies on top of that. It should now always give you a good plan when it succeeds and if it doesn't that is a bug. |
@borsboom Yes, go ahead and close it :) |
I recently tried to get some
elm
stuff building. This is what I did:Then I ran
stack solver
until it was happy. I ended up with thisThis results in
However,
stack build
is not so happy:I did expect that making
stack solver
happy would result in usable build planThe text was updated successfully, but these errors were encountered: