mirror of
https://github.com/nix-community/disko.git
synced 2024-09-17 09:37:17 +03: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
@ -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 "$@"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user