alejandra
rnix-lsp
alejandra | rnix-lsp | |
---|---|---|
3 | 7 | |
674 | 695 | |
- | - | |
2.5 | 0.0 | |
6 days ago | 4 months ago | |
Nix | Rust | |
The Unlicense | MIT License |
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.
alejandra
-
How to use Alejandra as Nix formmater
I hope someone using lazy.nvim, has a setup they can share, where they are using alejandra as their nix formmater. I've read the instruction, but can't get it to work other than using the manual command. Hoping to integrate it into the LSP automatically.
-
Packaging / publishing software best practices?
Flakes are best imported from other flakes, but if your system configuration isn’t a flake, you can use builtins.getFlake to load it, like (builtins.getFlake "git+https://github.com/kamadorueda/alejandra?rev=d00d03f0b45d2d1d6e0ae2d110c821b497d8fb09").packages.x86_64-linux.default gives you the alejandra package.
-
Editor support for the nix language?
As others have mentioned, there are a couple of LSP implementations. There's also statix for basic static analysis, as well as a few formatters, including nixpkgs-fmt and alejandra.
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
What are some alternatives?
nixpkgs-fmt - Nix code formatter for nixpkgs [maintainer=@zimbatm]
nickel - Better configuration for less
statix - lints and suggestions for the nix programming language
nixos-hardware - A collection of NixOS modules covering hardware quirks.
rust-overlay - Pure and reproducible nix overlay of binary distributed rust toolchains
git-hooks.nix - Seamless integration of https://pre-commit.com git hooks with Nix.
dream2nix - Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
nixos-nvidia-vgpu - NixOS NVIDIA vGPU Module
nix-config - :space_invader: NixOS configuration
nix-gui - Use NixOS Without Coding