-
-
Notifications
You must be signed in to change notification settings - Fork 414
Closed
Description
Apologies if this isn't appropriate place to ask, but wasn't sure where else to go.
I've recently returned to programming in Haskell and before I remember I used ghcide, but now there is a much newer version of ghc, so ghcide doesn't work for the project I am working on now, so I am trying to install the new version.
I am using latest stack on windows 10. I am using following command to install ghcide, but I get the following problems. Essentially it asks me to add quite a lot of dependencies to extra-deps.
Is this normal and to be expected? Or should I just add everything, install ghcide for my current ghc version, and then just remove the extra-deps from my project?
stack build ghcide --copy-compiler-tool
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for ghcide-0.5.0:
hie-bios-0.5.1 from stack configuration does not match >=0.7.1 && <0.8.0 (latest matching version is 0.7.1)
hie-compat needed, but the stack configuration has no specified version (latest matching version is 0.1.0.0)
implicit-hie-cradle must match >=0.2.0.1 && <0.3, but the stack configuration has no specified version (latest
matching version is 0.2.0.1)
lsp-test-0.10.3.0 from stack configuration does not match >=0.11.0.2 && <0.12 (latest matching version is 0.11.0.7)
needed since ghcide is a build target.
Some different approaches to resolving this:
* Recommended action: try adding the following to your extra-deps
in C:\Users\Sam\OneDrive - University of Glasgow\FP\AE\prof-scraper\stack.yaml:
- hie-bios-0.7.1@sha256:27b88c6f541e435a41e0c37f94fa286e78eb0065a151a1c599662e6cd0b88c80,11260
- hie-compat-0.1.0.0@sha256:bf4c51730a9ffce50fd73a0e14d21d22720fa3cbe38fd5e4761fdce576d781ee,1339
- implicit-hie-cradle-0.2.0.1@sha256:c6892ef9c16ba1e19f497a119c039a5845f46b93dd67538f37d4c002b222d4c1,2568
- lsp-test-0.11.0.7@sha256:cf73607c226bfeb06f00a5d4d20cd2329c931f6b4b2b278836005c369f046de4,4376
Plan construction failed.
Metadata
Metadata
Assignees
Labels
No labels