Skip to content

Development only flake inputs or different category of inputs #6124

@terlar

Description

@terlar

Is your feature request related to a problem? Please describe.
When you developing a flake that will be used by other flakes your flake might come with more inputs than the end-user needs.

Several inputs might only be needed during development/testing. Examples:

Describe the solution you'd like
I'm not sure how to verify that those inputs you use will only be used for devShell, checks or hydraJobs. But I guess when opting out from inputs you would need a way to determine what inputs needs to be pulled in.

Describe alternatives you've considered
Creating multiple standalone flakes, e.g. one flake in a folder named devshell, another flake in a folder named tests. But unfortunately that makes the main flake not supporting the nix develop and nix flake check commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Defined work

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions