fmt: fix usage of deadnix

This commit is contained in:
Aaron Bieber 2022-11-16 15:00:30 -07:00
parent 87665339e4
commit 463829e7f8
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -209,7 +209,7 @@
inherit pkgs; inherit pkgs;
isUnstable = true; isUnstable = true;
}; };
xintray = xintray.packages.${system}.xintray; inherit (xintray.packages.${system}) xintray;
}); });
templates."ada" = { templates."ada" = {

3
fmt
View File

@ -4,7 +4,8 @@ set -e
find . -name \*.nix -exec nix fmt {} \+ find . -name \*.nix -exec nix fmt {} \+
find . -name \*.sh -exec shfmt -w {} \+ find . -name \*.sh -exec shfmt -w {} \+
find . -name \*.nix -exec deadnix -f -l -L {} \+
deadnix -f -l -L .
shfmt -w deploy shfmt -w deploy
shfmt -w mkboot shfmt -w mkboot
statix check . statix check .