Really use nix-worker in nixos-rebuild

svn path=/nixos/trunk/; revision=21307
This commit is contained in:
Yury G. Kudryashov 2010-04-25 18:26:51 +00:00
parent d9528767af
commit a30637aba5

View file

@ -119,7 +119,7 @@ trap 'rm -rf "$tmpDir"' EXIT
# This matters if the new Nix in Nixpkgs has a schema change. It
# would upgrade the schema, which should only happen once we actually
# switch to the new configuration.
if initctl status nix-daemon 2>&1 | grep -q ' running'; then
if initctl status nix-daemon 2>&1 | grep -q 'running'; then
export NIX_REMOTE=${NIX_REMOTE:-daemon}
fi