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 2023-09-15 08:03:10 +02:00 committed by mergify[bot]
parent 4ec801c317
commit 1be23d771f

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