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