feat(devShells): shell for nix language
This commit is contained in:
parent
4681e362e9
commit
9036985dde
5 changed files with 48 additions and 1 deletions
20
devShells/nix/default.nix
Normal file
20
devShells/nix/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Nix
|
||||
/**
|
||||
Basic shell for nix-only projects.
|
||||
Many nix projects have their own devshell,
|
||||
but they don't install most necessary tools.
|
||||
*/
|
||||
pkgs: rec {
|
||||
/**
|
||||
nix language server
|
||||
*/
|
||||
packages.nixd = pkgs.nixd;
|
||||
/**
|
||||
nix formatter
|
||||
*/
|
||||
packages.nixfmt = pkgs.nixfmt;
|
||||
/**
|
||||
nix linter
|
||||
*/
|
||||
packages.statix = pkgs.statix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue