aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/nvim/lua/plugins/lsp.lua
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-14 12:29:15 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-14 12:29:15 +0100
commit8e5f5efc70680128545d26864263e5628fc74276 (patch)
tree6e5584f0a18b1f22913f42f3dce273fcf3803afc /dot_config/nvim/lua/plugins/lsp.lua
parent5071c9ed1063e1739f26b8227c521d070ef525d6 (diff)
downloaddotfiles-8e5f5efc70680128545d26864263e5628fc74276.tar.gz
dotfiles-8e5f5efc70680128545d26864263e5628fc74276.tar.bz2
dotfiles-8e5f5efc70680128545d26864263e5628fc74276.zip
fix(remote-dev): install basedpyright outside Mason
Mason's pypi distribution of basedpyright pulls nodejs-wheel-binaries which only ships manylinux_2_28 Linux wheels. uv's python-build- standalone interpreter is tagged manylinux2014 (glibc 2.17 for max portability) and rejects those wheels; pip then falls back to building Node 24 from source, which fails on Ubuntu 20.04's gcc 9.4 (needs gcc >=10 for -std=gnu++20). Provide basedpyright via the system package manager instead: - pacman on Arch (added to meta/base.txt) - pkgs.basedpyright on the VM (added to remote-dev/home.nix) Drop it from mason-tool-installer's ensure_installed; lspconfig picks it up from PATH. Document the exception in remote-dev/README.md.
Diffstat (limited to 'dot_config/nvim/lua/plugins/lsp.lua')
-rw-r--r--dot_config/nvim/lua/plugins/lsp.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/dot_config/nvim/lua/plugins/lsp.lua b/dot_config/nvim/lua/plugins/lsp.lua
index 1a115db..a2a4036 100644
--- a/dot_config/nvim/lua/plugins/lsp.lua
+++ b/dot_config/nvim/lua/plugins/lsp.lua
@@ -22,7 +22,12 @@ require("mason-tool-installer").setup({
ensure_installed = {
"actionlint",
"autotools-language-server",
- "basedpyright",
+ -- basedpyright: provided by the system pkg manager (basedpyright-bin from
+ -- AUR on Arch, pkgs.basedpyright in remote-dev/home.nix on the VM). Mason's pypi
+ -- distro pulls `nodejs-wheel-binaries` whose Linux wheels are only
+ -- manylinux_2_28; uv's standalone python (manylinux2014) rejects them and
+ -- pip falls back to building Node from source, which fails on Ubuntu
+ -- 20.04's gcc 9.4 (<10, no -std=gnu++20). lspconfig finds it on PATH.
"bash-language-server",
"clangd",
"codelldb",