Open thkoch2001 opened 10 months ago
I now built HLS from git with resolver: lts-21.23
and stack install
and eglot just worked.
Is there some template haskell code in the project? We need to build and load the TH dependencies in order to evaluate splices, so maybe that's where it's coming from?
Your environment
What's wrong?
I'm working in Emacs running on the host over SSH (via emacs tramp-mode), editing files on the VM. When I try to start eglot, the Eglot buffer shows:
However when I execute HLS from the cli in the VM it runs normally and just waits for JSON input.
This might be a problem in Tramp, but I'd very much appreciate any hints, what HLS is doing when it fails and where to find the code in HLS that fails.
When I lookup
ldd ldd haskell-language-server-9.4.8
it says: "not a dynamic executable". So there must be some code somewhere in HLS that tries to dynamically load shared libraries and for some reason does not get the path right when called by Tramp.