nixfmt-rfc-style
This commit is contained in:
parent
65b1d0a562
commit
0d2c719d6f
10
flake.nix
10
flake.nix
@ -273,20 +273,14 @@
|
|||||||
};
|
};
|
||||||
checks = builtins.mapAttrs (
|
checks = builtins.mapAttrs (
|
||||||
system: deployLib:
|
system: deployLib:
|
||||||
let
|
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
|
||||||
in
|
|
||||||
deployLib.deployChecks self.deploy
|
deployLib.deployChecks self.deploy
|
||||||
// {
|
// {
|
||||||
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
|
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
hooks = {
|
hooks = {
|
||||||
nixfmt = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.nixfmt-rfc-style;
|
|
||||||
};
|
|
||||||
deadnix.enable = true;
|
|
||||||
statix.enable = true;
|
statix.enable = true;
|
||||||
|
deadnix.enable = true;
|
||||||
|
nixfmt-rfc-style.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user