Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
Noi0103 opened this issue Apr 8, 2025 · 0 comments
Open
2 tasks done

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

Noi0103 opened this issue Apr 8, 2025 · 0 comments
Labels

Comments

@Noi0103
Copy link

Noi0103 commented Apr 8, 2025

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.

@Noi0103 Noi0103 added the bug label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant