-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error using stack explicit cradle: No prefixes matched for Paths_haskell_language_server.hs #50
Comments
Can you post the hie.yaml? |
It is the one printed in the error message as # This is a sample hie.yaml file for opening haskell-language-server
# in hie, using stack as the build system. To use is, copy it to a
# file called 'hie.yaml'
cradle:
stack:
- path: "./test/functional/"
component: "haskell-language-server:func-test"
# This target does not currently work (stack 2.1.3)
# - path: "./test/utils"
# component: "haskell-language-server:lib:hls-test-utils"
- path: "./exe/Main.hs"
component: "haskell-language-server:exe:haskell-language-server"
- path: "./exe/Wrapper.hs"
component: "haskell-language-server:exe:haskell-language-server-wrapper"
- path: "./src"
component: "haskell-language-server:lib"
- path: "./ghcide/src"
component: "ghcide:lib:ghcide"
- path: "./ghcide/exe"
component: "ghcide:exe:ghcide" |
I am getting the same error on this commit: 5e4e878 The project I am getting this on is the idris-lang/Idris-dev@0705643 commit of the Idris 1 compiler. This is the cradle:
stack:
# - path: "././"
# component: "idris:bench:s/*.pl"
- path: "./src"
component: "idris:lib"
- path: "./main/Main.hs"
component: "idris:exe:idris"
- path: "./test"
component: "idris:test:regression-and-feature-tests"
- path: "./codegen/idris-codegen-c/Main.hs"
component: "idris:exe:idris-codegen-c"
- path: "./codegen/idris-codegen-javascript/Main.hs"
component: "idris:exe:idris-codegen-javascript"
- path: "./codegen/idris-codegen-node/Main.hs"
component: "idris:exe:idris-codegen-node" I was using the commit from |
I've got the same error with a cabal explicit cradle, in hls. I did not get at first, even opening andseveral files but when i opened
|
already in hls/ghcide |
./exe/Main.hs
) with a corrected stack basedhie.yaml
hie.yaml
, it worksLog
The text was updated successfully, but these errors were encountered: