mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
25db622454
per-machine maximum number of parallel jobs on a remote machine.
12 lines
211 B
Bash
Executable file
12 lines
211 B
Bash
Executable file
#! /bin/sh
|
|
|
|
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 -j1 $storeExpr
|