replace statix with deadnix

statix does sometimes weird stuff while deadnix is even better at finding deadcode
This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-09-17 04:43:25 +00:00
1 parent 4ec801c317
commit 1be23d771f
1 file changed
+2 -2
+2 -2
View File
@@ -60,14 +60,14 @@
name = "format"; name = "format";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
nixpkgs-fmt nixpkgs-fmt
statix
deno deno
deadnix
]; ];
text = '' text = ''
set -o xtrace set -o xtrace
nixpkgs-fmt "$@" nixpkgs-fmt "$@"
statix fix "$@"
deno fmt "$@" deno fmt "$@"
deadnix --edit "$@"
''; '';
} }
); );