mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
replace statix with deadnix
statix does sometimes weird stuff while deadnix is even better at finding deadcode
This commit is contained in:
parent
4ec801c317
commit
1be23d771f
1 changed files with 2 additions and 2 deletions
|
@ -60,14 +60,14 @@
|
|||
name = "format";
|
||||
runtimeInputs = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
statix
|
||||
deno
|
||||
deadnix
|
||||
];
|
||||
text = ''
|
||||
set -o xtrace
|
||||
nixpkgs-fmt "$@"
|
||||
statix fix "$@"
|
||||
deno fmt "$@"
|
||||
deadnix --edit "$@"
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue