cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
4.38k stars 330 forks source link

Are language servers in-scope? #1559

Open losnappas opened 4 days ago

losnappas commented 4 days ago

languages.python doesn't install pyright (or any other python lsp), but e.g. languages.clojure installs clojure-lsp. I'm wondering why that is.

domenkozar commented 4 days ago

Yes!

losnappas commented 3 days ago

Alright. Well, it seems for python the preferred method of installing an lsp is via pip with virtualenv. E.g. pip install 'python-lsp-server[all]', which may explain why it's not in the devenv setup.

That said, that installs mypy lang server, not pyright, and I'm wondering whether installing these via nix is fine anyway, considering it should match the python version from nixpkgs (in theory). I'll do some testing going fwd