about summary refs log tree commit diff
path: root/distributed/test.sh
blob: c91595da0bdbb2c789e69aa161a2cbcdb40e4b73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

set -e

rm -f current-load
touch current-load

storeExpr=$(nix-instantiate ~/nixpkgs/pkgs/system/all.nix)

export NIX_BUILD_HOOK="build-remote.pl"

../src/nix-store/nix-store -qnvvvv -j1 $storeExpr