-
-
Notifications
You must be signed in to change notification settings - Fork 366
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: setup: can't find source for <module> in ... #3803
Comments
|
P.S.: Using Stack + this hie.yaml works fine. Cross reference: commercialhaskell/stack#6228 (comment) |
@benz0li, I think I have an answer for the Stack project: its custom |
@mpilgrem your analysis is exactly correct and I did a similar fix for cabal's testsuite a couple of weeks ago. |
Sounds like you've figured this out. Feel free to reopen if it looks like a HLS issue again. |
Your environment
This issue can be reproduced with the default Dev Container at https://github.com/benz0li/commercialhaskell-stack/tree/add-dev-containers
Which OS do you use?
Alpine Linux/AArch64
Which version of GHC do you use and how did you install it?
Unofficial build of GHC v9.4.6: 9.4.6.Dockerfile
Which LSP client (editor/plugin) do you use?
VS Code + vscode-haskell
Which version of HLS do you use and how did you install it?
Unofficial build of HLS v2.1.0.0: 2.1.0.0.Dockerfile
ℹ️ Put together in a Dev Container based on devcontainer.json + GHC.Dockerfile
Have you configured HLS in any way (especially: a
hie.yaml
file)?Yes: hie.yaml
What's wrong?
Last step: Opening
src/Stack.hs
: Haskell extension > View Problem:(other steps: see below)
Debug information
Steps according to https://github.com/benz0li/commercialhaskell-stack/tree/add-dev-containers/.devcontainer#cabal:
cabal_build.log
ℹ️
cabal repl
works, too:cabal_repl.log
Opening
src/Stack.hs
: haskell-extension.logThe text was updated successfully, but these errors were encountered: