Skip to content

How to run clippy in a check #195

@jeffa5

Description

@jeffa5

Making a derivation that runs cargo clippy fails due to trying to download the dependencies.

Looking at the clippy page it seems it can be run as rustc using clippy-driver. Is there a way with the crate2nix logic to follow this through or does something need to be added to buildRustCrate in nixpkgs?

If there is another nice way to run clippy in a derivation (looking at it for a flake check) then that would also be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions