Skip to content

non-trivial flakes #12918

@Sk7Str1p3

Description

@Sk7Str1p3

Is your feature request related to a problem?

Currently flake must be single file without any imports, concatenation, etc. Some flake are enormous and reading them as single file is really difficult.
We already have flake-parts but they are not embedded in nix and have some limitations like disability of importing inputs from many files

Proposed solution

Importing inputs from other .nix files;
Importing outputs from other .nix files (flake-parts)
Allow custom outputs (flakeModules)

Additional context

none

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature request or proposal
    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