Skip to content

Error message when local build is rejected with max-jobs = 0 is unclear #14883

@xokdvium

Description

@xokdvium

Is your feature request related to a problem?

The error message when a local build cannot be run is very unclear and unintuitive. See NixOS/nixpkgs#474878 (comment).

error: Cannot build '/nix/store/64y4mnlqv55vlnim6s8k8lb9lx7l3vjd-attrpaths-superset.json.drv'.
       Reason: required system or feature not available
       Required system: 'aarch64-linux' with features {}
       Current system: 'aarch64-linux' with features {benchmark, big-parallel, nixos-test, uid-range}

Proposed solution

The error message clearly states that no local builds can be run, because max-jobs is 0.

Alternative solutions

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature request or proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions