mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* Load balancing. `build-remote.pl' will only execute up to a
per-machine maximum number of parallel jobs on a remote machine.
This commit is contained in:
parent
3426d19547
commit
25db622454
4 changed files with 34 additions and 11 deletions
|
@ -2,8 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
rm -f current-load
|
||||
touch current-load
|
||||
|
||||
storeExpr=$(nix-instantiate ~/nixpkgs/pkgs/system/test.nix)
|
||||
|
||||
export NIX_BUILD_HOOK="build-remote.pl"
|
||||
|
||||
../src/nix-store/nix-store -qnvvvv -j0 $storeExpr
|
||||
../src/nix-store/nix-store -qnvvvv -j1 $storeExpr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue