Skip to content
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 error message: suggest cabal update #9255

Closed
michaelpj opened this issue Sep 13, 2023 · 2 comments
Closed

Solver error message: suggest cabal update #9255

michaelpj opened this issue Sep 13, 2023 · 2 comments

Comments

@michaelpj
Copy link
Collaborator

Describe the feature request

When the solver fails because a constraint requires a version that is strictly newer than all the available versions, suggest that the user might need to run cabal update.

Additional context

It's obviously hard for cabal to ever know that we're missing a package version, but this situation is pretty suggestive.

Example of a confused user: haskell/haskell-language-server#3771 (comment)

@grayjay
Copy link
Collaborator

grayjay commented Sep 13, 2023

This looks like a duplicate of #8922.

@michaelpj
Copy link
Collaborator Author

Yep, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants