Skip to content

distributed builds do not nix-build --check #12975

@Noi0103

Description

@Noi0103

Describe the bug

I set up distributed builds on a machine with this tutorial https://nix.dev/tutorials/nixos/distributed-builds-setup.html. The build itself works. If i try to use nix-build --check it does not seem to rebuild or give any error message.

Steps To Reproduce

  1. set up nix.distributedBuilds = true;
  2. pick a local store derivation
  3. run a build similar to this nix-build /nix/store/j73r5pf6m6x0kc53czn353bk2k2hxcds-mesa-24.2.8.drv --max-jobs 0
  4. try to run the rebuild nix-build /nix/store/j73r5pf6m6x0kc53czn353bk2k2hxcds-mesa-24.2.8.drv --max-jobs 0 --check
  5. compare to a manual remote build nix-build /nix/store/j73r5pf6m6x0kc53czn353bk2k2hxcds-mesa-24.2.8.drv --check --max-jobs 0 --eval-store auto --store ssh-ng://remote-builder.internal

Expected behavior

A rebuild should be done and logs should appear on the host machine.

Metadata

nix-env (Nix) 2.24.13

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions