1
0
Fork 0
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:
Eelco Dolstra 2004-05-13 19:35:46 +00:00
parent 3426d19547
commit 25db622454
4 changed files with 34 additions and 11 deletions

View file

@ -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