Description
According to the documentation[1], you can install haskell-language-server via stack install --stack-yaml stack-<GHCVER>.yaml
. However, the ghc-versioned stack yamls have been removed in 5a6b079. There are still some stack.yaml left, specifically for lts 16 and 19, but none of them cover ghc 8.10.7 (lts 18), which should be supported according to [2]. I've tried adjusting stack-lts19.yaml for lts-18 but find myself stuck in a tangle of incompatible library versions.
So the documentation needs to be updated to reflect the new way to manually build haskell-language-server for specific ghc versions
- [1] https://haskell-language-server.readthedocs.io/en/latest/installation.html
- [2] https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html
Also (and this isn't really part of the issue), the reason I'm trying to build it manually in the first place is that I can't for the life of me figure out how to install a specific version (commit) of haskell-language-server using nix (or home manager). Any pointers would be appreciated.