nix-super/distributed/test.sh
2004-06-04 14:31:57 +00:00

12 lines
210 B
Bash
Executable file

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