also check nix files with statix

This commit is contained in:
Jörg Thalheim 2023-01-01 21:18:13 +01:00
parent b7f40610ac
commit 8f1420fc87

View file

@ -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} "$@"
''