-
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
Installing discrimination violates stack invariant #3378
Comments
Looks like you just need to add the following to your extra-deps:
- promises-0.3 The |
Invariant violated message is definitely a bug though. Will put this on my queue of things to look into. Feel free to work on figuring this out @lwm or @reactormonk or anyone else |
@reactormonk I think this may be resolved on Stack master; would you be able to try upgrading with |
Newest git seems to work fine. |
... now it doesn't anymore, and I don't know why.
|
That looks legitimate and unrelated: discrimination depends on promises, and promises isn't available in LTS 9.1. You can work around this by manually adding promises to the build plan with |
Any way to make that work for script? |
See #3370. |
I've fixed the "stack invariant violated" portion. The code for displaying the messages was not taking into consideration packages added due to being extra-deps. The output is now:
|
Steps to reproduce
On lts-9.0, 9.1, 8.21:
Expected
Should warm my room and return.
Actual
Stack version
Method of installation
The text was updated successfully, but these errors were encountered: