Skip to content

nixpkgs-vet should error if a package accepts an input that is never used #173

@Pandapip1

Description

@Pandapip1

This helps catch inputs that were brought in for testing and never removed.

E.G:

When I need to inspect what the output of a build is, I often set preInstall to run tree and exit 1. So:

{
  ...,
  tree,
  ...
}:

... # Doesn't use tree at all

should be an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions