Open 89oinotna opened 1 year ago
@89oinotna, thanks for reporting. However, as you describe it, this appears to relate to HLS and/or GHCup, not Stack. To rule out Stack, what is the code you are seeking to build with that stack.yaml
file? I'll try to reproduce what you are experiencing outside of HLS/GHCup. Also, the stack.yaml
file appears to be missing the obligatory resolver:
key to specify the snapshot.
Hi. I'm getting this exact same problem now using this stack file from https://github.com/ucsd-progsys/lh-plugin-demo/
The strange thing (as mentioned in this comment: https://github.com/haskell/haskell-language-server/issues/3134#issuecomment-1242696747) is that the problem happens even if the dependencies are not being used.
A good description of the reproducibility of the problem is in this comment: https://github.com/haskell/haskell-language-server/issues/3134#issuecomment-1237116252
General summary/comments
HLS does not work if using stack and liquid haskell, if i switch to cabal it works.
Steps to reproduce
vscode 1.73.0 with Haskell plugin configured to use ghcup MacOS Monterey 12.6 ghc 8.10.7 stack 2.9.1 HLS 1.8.0.0
My problem is similar to https://github.com/haskell/haskell-language-server/issues/3134
This is my stack.yaml
And this is the error i get: