- Extracted checks (clippy, doc, fmt, and toml-fmt) into modularized Nix files under `nix/checks`. - Updated `flake.nix` to import checks from the new modularized structure. - Improved clarity and maintainability by separating concerns for each check.
14 lines
190 B
Nix
14 lines
190 B
Nix
{
|
|
craneLib,
|
|
commonArgs,
|
|
cargoArtifacts,
|
|
}:
|
|
|
|
craneLib.cargoClippy (
|
|
commonArgs
|
|
// {
|
|
inherit cargoArtifacts;
|
|
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
|
}
|
|
)
|