Skip to content

Detect remote systemFeatures automatically #10894

Open
@roberth

Description

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

  • Nix can ask the remote builder which features it implements.
  • Nix maintains a cache of systemFeatures for each of its builders.
  • This information is transmitted not as a mere list features, but a list of combinations of derivation systems and features; not all combinations may be valid!
    • example: macOS host may support aarch64-linux by forwarding to a VM, but does not support nested virtualization, so virtualization features only apply to aarch64-darwin.
  • The exposed combinations of features can be derived from the usual config, or set explicitly

Describe alternatives you've considered

Additional context

Related terms: requiredFeatures mandatoryFeatures

Priorities

Add 👍 to issues you find important.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature request or proposalprotocolThings involving the daemon protocol & compatibility issuessettingsSettings, global flags, nix.conf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions