emacs-lsp / lsp-metals

lsp-mode :heart: metals
https://emacs-lsp.github.io/lsp-metals
GNU General Public License v3.0
58 stars 34 forks source link

In OpenBSD installing `lsp::metals` results in Linux binary being installed [solution] #98

Open liar666 opened 11 months ago

liar666 commented 11 months ago

Context: I run OpenBSD.

When I install lsp::metals in DoomEmacs, it doesn't work. The installation log (comint) for lsp::metals shows a message saying more or less "coursier : invalid format"

Indeed, when I go to .emacs.d/.local/etc/lsp/metals/ the installed coursier file is a Linux ELF binary.

SOLUTION: When you go to coursier's installation instructions page there is an entry "Any (needs JVM)" which work perfectly under OpenBSD. Installing this version (for everyone or for *BSDs only) would solve the problem

Steps to reproduce