From ffac11b1863941e9804ef97a910270d325c23749 Mon Sep 17 00:00:00 2001 From: Damocles Date: Wed, 15 Apr 2026 02:21:04 +0200 Subject: [PATCH] ci: add clippy to nativeBuildInputs for clippy check --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ddccda7..c33a922 100644 --- a/flake.nix +++ b/flake.nix @@ -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;