Binary Release?
enhancement
### Is your feature request related to a problem? Please describe.
I'm wanting to have nixd added to
https://github.com/mason-org/mason-registry/tree/main/packages
So, it could be installed without a full nix system setup. 'I find nixos excessively magical, and so instead I'm working on some reusable flake-parts builder-extension modules to build a whole computers worth of packages indiviually'
It'd be great to be able to use nixd in my neovim configs without relying on nix, when I'm wanting to use nvim, for writing my nix functions to begin with.
But mason has to be able to refer to something runnable or buildable with luarocks etc.
### Describe the solution you'd like
binary releases for (even just x86_64), and integrating with mason would be great... here's an example package.yaml "mason-registry" file you could use, if you'd like to
name: nixd
description: Nix language server based on nix libraries
homepage: https://github.com/nix-community/nixd
licenses:
- LGPL-3.0-or-later
languages:
- Nix
categories:
- LSP
source:
id: pkg:github/nix-community/nixd@2.4.0
asset:
- target: darwin_arm64
file: nixd-aarch64-apple-darwin.tar.gz
bin: nixd-aarch64-apple-darwin/nixd
- target: darwin_x64
file: nixd-x86_64-apple-darwin.tar.gz
bin: nixd-x86_64-apple-darwin/nixd
- target: linux_arm64_gnu
file: nixd-aarch64-unknown-linux-gnu.tar.gz
bin: nixd-aarch64-unknown-linux-gnu/nixd
- target: linux_x64_gnu
file: nixd-x86_64-unknown-linux-gnu.tar.gz
bin: nixd-x86_64-unknown-linux-gnu/nixd
- target: win_x64
file: nixd-x86_64-pc-windows-msvc.zip
bin: nixd.exe
schemas:
lsp: vscode:https://raw.githubusercontent.com/nix-community/nixd/{{version}}/nixd/editors/vscode/package.json
bin:
nixd: "{{source.asset.bin}}"
neovim:
lspconfig: nixd
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
1 条评论