diff options
author | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-05-28 19:03:36 +0200 |
---|---|---|
committer | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-05-28 19:32:53 +0200 |
commit | 422ae1f1a70c5c97bd26756d0f61ad011ccea87f (patch) | |
tree | f21df905cb8a343147ad3ce37bd59ec3c9a63ed4 | |
parent | bf2c0c88528e6e6a2ffd47fe6804ec97c4708804 (diff) |
build(nix): add cargo clippy check
note that this only checks the top-level package, `bch_bindgen` is
excluded because it has too many clippy lints.
-rw-r--r-- | flake.nix | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -131,6 +131,14 @@ } ); + checks.cargo-clippy = craneLib.cargoClippy ( + commonArgs + // { + inherit cargoArtifacts; + cargoClippyExtraArgs = "--all-targets -- --deny warnings"; + } + ); + devShells.default = pkgs.mkShell { inputsFrom = [ config.packages.default |