Distributed build: Difference between revisions
imported>Symphorien m prominently mention the manual |
imported>Symphorien table of features for builders |
||
| Line 88: | Line 88: | ||
To never use the local machine set the <code>max-jobs</code> nix option to 0 | To never use the local machine set the <code>max-jobs</code> nix option to 0 | ||
{{Commands|$ nix-build -j0 blah}} | {{Commands|$ nix-build -j0 blah}} | ||
When a builder lacks one of the <code>requiredSystemFeatures</code> of a derivation in its <code>supportedFeatures</code> array, it will be ignored. Here are some features used in nixpkgs: | |||
{| class="table" | |||
|- | |||
! Feature | |||
! Derivations requiring it | |||
|- | |||
| <code>kvm</code> | |||
| Everything which builds inside a vm, like NixOS tests | |||
|- | |||
| <code>nixos-test</code> | |||
| NixOS tests | |||
|- | |||
| <code>big-parallel</code> | |||
| kernel config, libreoffice, evolution and chromium. | |||
|} | |||
== See also == | == See also == | ||