nix-super/distributed/test.sh

13 lines
211 B
Bash
Raw Normal View History

#! /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