Comments (3)
@Allaman I ended up creating a symbolic link which is a temporary simple solution.
This is probably not even needed since it's already installed system wide. I'm not
sure I have not been on neovim in a while.
cd ~/.local/share/nvim-lazyvim/mason/bin
ln -sf $(which lua-language-server) lua-language-server
from mason.nvim.
How is this possible? What is changed in the build if anything?
This is how NixOS works (or doesn't 😄).
Downloading and attempting to run a binary on NixOS will almost never work. This is due to hard-coded paths in the executable. Unfortunately, almost all unfree and proprietary software comes in binary form - the main reason to include binaries is because no source code is available. This tutorial will guide you through packaging a binary executable.
So, I guess lua-language-server installed by Mason is missing some shared libraries, which of course are known by the NixOS package.
I made a blog post on this topic and one approach to solve this. It is labor intense and hacky but works (until a package is updated 😄 ).
from mason.nvim.
Same thing happens with the following:
- stylua
from mason.nvim.
Related Issues (20)
- [New package]: autocorrect HOT 2
- Lockfile or ability to freeze a certain package version HOT 2
- Deprecation of vim.tbl_xx functions trigger errors in latest Neovim versions
- Support ensure_installed directly in mason
- Update core utils to have version requirements [wget]
- Mason command is not working HOT 3
- LemMinX on x86_64 Linux HOT 3
- [New package]: Native rust ruff LSP HOT 2
- Couldn't install luacheck, linking issue HOT 2
- Mason won't install Ltex-ls
- [Docs] Python packages failing to install for Ubuntu (ensurepip is disabled in Debian/Ubuntu for the system python...) HOT 2
- Ubuntu 22.04 in WSL2 "Client pyright quit with exit code 127 and signal 0"
- [New Package]: please add support for `fish_lsp`` HOT 1
- rust-analyzer runs twice when installed by Mason
- Error running eslint: ENOENT: no such file or directory
- Packages installed using PowerShell & pwsh (on Windows) cause an error HOT 1
- JsonSchema error for rust-analyzer configuration schema HOT 3
- Error that won't let me update packages HOT 3
- 3rd party purl resolver api
- Avoid unnecessary warnings in the checkhealth report; perhaps filter which tests to run accordingly.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.nvim.