-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Could not load module ‘Test’ It is a member of the hidden package ‘hie-error-0.1.0.0’. #347
Comments
I can not reproduce on NixOS. Can you invoke What is your |
Thank you for taking a look. I'm using And, I haven't added logs for 8.8.4
logs for 8.10.2
No luck either with cradle:
cabal:
- path: "src"
component: "lib:hie-error"
- path: "app/Main.hs"
component: "hie-error:exe:hie-error" |
BTW, do all cool kids use NixOS nowadays? 🤔 |
if you like yak shaving you have two main options: nixos or Windows 😝 |
Haskell and NixOS users have indeed a huge overlap. With |
After renaming |
I figured out the problem! That error is not from haskell-language-server but from another plugin https://github.com/dense-analysis/ale |
I can reproduce it with a simple project generated by
cabal init
.cabal build
succeeds, but hie stumbles.Project structure:
./Main.hs
./src/Test.hs
./hie-error.cabal
Nothing interesting in the hie output
However, Putting ./src/Test.hs in the project root makes hie happy.
cabal: 3.2.0.0
ghc: 8.8.4
hie: b6c1551 Fri Aug 21 16:04:47 2020 +0100
I believe this issue differs from #299
The text was updated successfully, but these errors were encountered: