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

update hiedb dependency #3946

Closed

Conversation

peterbecich
Copy link
Member

@peterbecich peterbecich commented Jan 13, 2024

Oddly this fails:

cabal build ./ghcide --constraint 'hiedb==0.5.*'

It seems it cannot find hiedb 0.5.0.0 or 0.5.0.1. These were uploaded to Hackage in the last few days.

Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: ghcide-2.5.0.0 (user goal)
[__1] next goal: hiedb (dependency of ghcide)
[__1] rejecting: hiedb-0.4.4.0, hiedb-0.4.3.0, hiedb-0.4.2.0, hiedb-0.4.1.0,
hiedb-0.4.0.0, hiedb-0.3.0.1, hiedb-0.3.0.0, hiedb-0.2.0.0, hiedb-0.1.0.0
(constraint from command line flag requires >=0.5 && <0.6)
[__1] fail (backjumping, conflict set: ghcide, hiedb)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: ghcide, hiedb

I believe my Cabal package index is up-to-date. cabal update worked.

https://hackage.haskell.org/package/hiedb-0.5.0.1

closes: #3945

```
cabal build ./ghcide --constraint 'hiedb==0.5.*'
```

closes: haskell#3945
@konn
Copy link
Collaborator

konn commented Jan 13, 2024

Seems a duplicate of #3943?

@peterbecich
Copy link
Member Author

Thanks, just noticed

The reason it could not find the dependency is probably index-state in cabal.project
https://github.com/haskell/haskell-language-server/pull/3943/files#diff-b8ed06757045fac949c89f2139a862498ad2b6d1f82c61a31e7c91d6cf0eaa70

@peterbecich peterbecich deleted the update-hiedb-dependency branch January 13, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support for hiedb 0.5.* in ghcide
2 participants