ci: add clippy to nativeBuildInputs for clippy check

This commit is contained in:
Damocles 2026-04-15 02:21:04 +02:00
parent 7423990f34
commit ffac11b186

View file

@ -92,8 +92,9 @@
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 (_: {
nova-stats-clippy = (pkgs.callPackage ./nix/stats-daemon.nix { }).overrideAttrs (old: {
pname = "nova-stats-clippy";
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.clippy ];
buildPhase = "cargo clippy --all-targets -- -D warnings";
installPhase = "touch $out";
doCheck = false;