lsp

liebs 2024-12-03T16:34:44.577439Z

hey, I'm setting up my new computer using a pretty niche linux distro so unsurprisingly there be dragons. I have lsp-mode installed in emacs and the clojure-lsp binary downloaded, but the server process dies whenever I enter a clojure buffer, and restarting it has no effect. In the logs, I see error in process sentinel: doing vfork: no such file or directory. vfork appears to be a syscall in libc which is available. Has anyone encountered this before?

borkdude 2024-12-03T16:36:15.452049Z

are you using the fully static binary?

liebs 2024-12-03T16:37:13.108899Z

yeah, the one that emacs-lsp (or whichever library it is) downloads automatically

liebs 2024-12-03T16:38:19.395549Z

I also downloaded that same binary myself but I was looking through the customize groups and didn't see a place to set a location for an externally downloaded file

borkdude 2024-12-03T16:51:13.552149Z

lsp-clojure-custom-server-command '("/Users/borkdude/bin/clojure-lsp-dev")

🙏🏻 1
liebs 2024-12-03T16:51:37.903169Z

I'll try that, thx

imre 2024-12-03T16:54:46.958859Z

> pretty niche linux distro which one, just ooc

liebs 2024-12-03T16:55:03.256899Z

Guix System

⭐ 1
liebs 2024-12-03T16:55:25.267059Z

it's like NixOS but uses Scheme as a configuration language and for package management

imre 2024-12-03T16:56:12.737339Z

nice, thank you!

👍🏻 1
ericdallo 2024-12-03T18:09:29.763869Z

maybe we could update lsp-mode automatic install to download the static binary for linux, because it should work for any linux (I use NixOS and the static one works)