Skip to content

Allow "meta" and "src" to evaluate in broken derivations #22102

@matthewbauer

Description

@matthewbauer

Issue description

Occasionally we want to access attributes on derivations without actually building them. For instance, a Darwin-only derivation may want to share the same "src" attribute with a Linux-only derivation. Or we may want to determine what systems the platform builds on (see #21845).

This may not be very easy to implement. Assertions abort evaluation, so perhaps we need something, else like a setup hook error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    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