about summary refs log tree commit diff
path: root/distributed/test.sh
blob: 78f83095e8206092da714a9f26f89b3b10127d1d (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/test.nix)

export NIX_BUILD_HOOK="build-remote.pl"

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