rnix-lsp
nil
rnix-lsp | nil | |
---|---|---|
7 | 4 | |
695 | 1,426 | |
- | - | |
0.0 | 7.3 | |
about 1 year ago | about 2 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rnix-lsp
-
Editor support for the nix language?
There's a work in progress language server: rnix which I'm using in emacs. Features like autocomplete are limited though, I'm guessing because you'd need to evaluate the actual Nix code to correctly deduce what properties exist.
-
What are the biggest Pain Points with NIX? And what makes it worth the pain?
There’s rnix-lsp.
- Our Roadmap for Nix
-
Rust Environment and Docker Build with Nix Flakes
https://github.com/nix-community/rnix-lsp works ok, it has some autocomplete but it does not infer options most packages expose unfortunately.
- rnix-lsp not working with an m1 mac in macos:
-
Statix — Lints and Suggestions for the Nix programming language
Looks cool! Any thoughts on the relationship between Statix and https://github.com/nix-community/rnix-lsp ?
- Nix-GUI: Make NixOS usable for non-technical users through settings / GUI
nil
-
NixOS is a good server OS, except when it isn't
This is inherently a Hard Problem™, since completions may require evaluating arbitrary derivations (e.g. building a custom Linux kernel).
For "what symbols are available", the nil LSP implementation[1] works for anything in scope that doesn't require evaluation. It also includes completions for the stdlib and NixOS options (in certain contexts).
Another LSP implementation is nixd[2], which is trying to tackle the problem of evaluations for completion.
[1] https://github.com/oxalica/nil/
-
Show HN: Postgres Language Server
This looks nice!
As someone interested in developing a client for it, I'm interested in couple of things: what are the features supported by it currently, the tweak-able configuration that can be passed to it and the various code action available. I like the way nil language server has documented it (https://github.com/oxalica/nil/tree/main/docs). Is there something equivalent available for this ?
-
If you haven't reevaluated your Nix language server in a while, do yourself a favor and check out nil
This is a PSA as somebody who spends most of their day inside .nix files and until yesterday was using the venerable rnix-lsp project. nil was shared here about six months ago but in that short time, this language server has gained a ton of functionality and is an absolute delight to use.
- nil: Yet another language server for Nix
What are some alternatives?
nickel - Better configuration for less
vscode-postgres - PostgreSQL extension for vscode providing explorer, highlighting, diagnostics, and intellisense
nixos-hardware - A collection of NixOS modules covering hardware quirks.
mason-registry - Core registry for mason.nvim.
git-hooks.nix - Seamless integration of https://pre-commit.com git hooks with Nix.
postgres_lsp - A Language Server for Postgres
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
declarative-schemas
nix-config - :space_invader: NixOS configuration
postgres-ast-deparser - A PostgreSQL AST toolkit and deparser, written in pure plpgsql
nixos-nvidia-vgpu - NixOS NVIDIA vGPU Module
NixOS-ISO-Torrents - NixOS ISO Torrents