ci: add clippy check to nix flake check
This commit is contained in:
parent
e55c8379ec
commit
7423990f34
1 changed files with 6 additions and 0 deletions
|
|
@ -92,6 +92,12 @@
|
|||
formatting = treefmt-eval.config.build.check self;
|
||||
build = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
nova-stats = self.packages.${pkgs.stdenv.hostPlatform.system}.nova-stats;
|
||||
nova-stats-clippy = (pkgs.callPackage ./nix/stats-daemon.nix { }).overrideAttrs (_: {
|
||||
pname = "nova-stats-clippy";
|
||||
buildPhase = "cargo clippy --all-targets -- -D warnings";
|
||||
installPhase = "touch $out";
|
||||
doCheck = false;
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue