-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Cabal mixins and custom preludes using stack #1415
Comments
also (last I checked) you can't have multiple |
Hello @jneira, Yes, I'm using stack to build the project and it works. However, here's the HLS log:
The variables reported as N. |
Thanks for pasting the logs, maybe it would not be strictly neccesary but good to have it to let other users compare with theirs. To confirm it definitely, the same error throwed by hls should be throwed if you load the file with stack repl. |
The upstream issue would be commercialhaskell/stack#5077 |
As a thread bump, I'll note that the workaround with Which leaves us HLS users with:
GHC bug #10920 seems also relevant. |
HLS is not able to resolve symbols in custom preludes (e.g. relude) when the mixins way is used to replace Prelude:
Other methods, such as base-noprelude or NoImplicitPrelude are instead correctly supported.
N.
The text was updated successfully, but these errors were encountered: