Open realh opened 6 months ago
I am hitting the same problem, but Fedora provides a clangd package, which I have installed. However, when I open a C file, it still tells me that my platform is not supported. How can I tell mason to use my locally installed servers, which are on the $PATH insted?
Same problem with hadolint, any solution?
Same here. Installed clangd with DNF (Fedora), but get the same error when Mason tries to install it.
I hitted same probelm, anyone knows solve that?
I hitted same probelm too.
I'll join the party. Same issue on Void Linux.
Same issue here when I try to use this on docker alpine Linux.
I am facing the same issue with RPi Bullseye. Is there any workaround to temporary inform mason that the package is already installed?
Same thing here. Running Ubuntu on Parallels (Apple M1).
Update: I copied the directory ~/.local/share/nvim/mason/packages/clangd
from my x86 machine and then I had to trick mason and change the sim link to the clangd installed with the system.
user at ubuntu-vm in ~/.local/share/nvim/mason/bin$ ls -l clangd
lrwxrwxrwx 1 dierus01 dierus01 18 Apr 3 16:07 clangd -> /usr/bin/clangd-17
TBH there should be a nice way to point clangd to the system provided one/or a version installed by the user.
FreeBSD 14.0 - the same thing.
clangd
is installed via pkg
Managed to fix (thanks to @diegorusso): copied mason-receipt.json from a linux and edited the path to clangd.
I temporarily fixed the issue by: I copy m1 macbook's layzvim config, ~/.local/nvim ~/.config/nvim, and use it in aarch64 machine. and delete the clangd, download aarch64-clangd. and it works!Perhaps better official support is needed!
I've searched open issues for similar requests
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I'm using an init.lua based on kickstart on an Ubuntu 22.04 server. If clangd is included in the table of servers passed to
mason_lspconfig.setup { ensure_installed = ... }
I get this error:Installation failed for Package(name=clangd) error="The current platform is unsupported."
Ubuntu's clangd .deb package seems to have a working version though, so I think mason is downloading the wrong version on this platform. It doesn't have this problem on my M1 Mac.
Expected behavior
Mason should install a version of clangd compatible with the platform.
Affected packages
clangd
Mason output
Installation log
Neovim version (>= 0.7)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1692716794
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Operating system/version
Linux angel2 5.15.0-1049-oracle #55-Ubuntu SMP Mon Nov 20 19:53:49 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Healthcheck
Screenshots
No response