forked from mirrors/nixpkgs
Really use nix-worker in nixos-rebuild
svn path=/nixos/trunk/; revision=21307
This commit is contained in:
parent
d9528767af
commit
a30637aba5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue