I’ve tried compiling from both master on git and the latest version on hackage, but although it compiles, it doesn’t seem to work. I also can’t seem to compile older versions of HLS with 9.8.4. More info can be found here.
If anyone’s got a workaround, please let me know. Thanks!
according to official Docs, 9.8.2 is the latest in the 9.8.x series with explicit support.
It is uncommon but HLS is highly integrated with the GHC API so it is possible a minor version upgrade contains a bug that creates a incompatibility, i recommend either upgrading or downgrading to solve immediately, however either a new version of HLS or GHC may fix this issue.
Hey there,
I had the same problem as you – we’re using GHC 9.8.4 at work, but there’s no pre-compiled HLS available for this version.
Well, you can compile an HLS quite easily using ghcup! Personally, all I had to do was:
ghcup compile hls --version=2.9.0.0 --ghc=9.8.4
Edit: I see you tried a version of this, but you seem to have used a more recent version of HLS (from its git repo). Version 1.9.0.0 2.9.0.0 worked very well for me
Edit: I said version 1.9.0.0 initially, but meant 2.9.0.0
2 Likes
Ah, I see, all the way back to v1.9.0.0 huh, no problem. Thanks for the workaround!
I didn’t even think about it to be honest; it’s the latest released version
Did you mean 2.9.0.0? Because 1.9.0.0 fails to build
Yes sorry! latest version is 2.9.0.0
1 Like