also check nix files with statix
This commit is contained in:
parent
b7f40610ac
commit
8f1420fc87
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
|||
''
|
||||
# First deadnix
|
||||
${pkgs.lib.getExe pkgs.deadnix} --edit "$@"
|
||||
|
||||
for i in "$@"; do
|
||||
${pkgs.lib.getExe pkgs.statix} fix "$i"
|
||||
done
|
||||
|
||||
# Then nixpkgs-fmt
|
||||
${pkgs.lib.getExe pkgs.nixpkgs-fmt} "$@"
|
||||
''
|
||||
|
|
Loading…
Add table
Reference in a new issue