mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 09:44:18 +00:00
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
|
# This matters if the new Nix in Nixpkgs has a schema change. It
|
||||||
# would upgrade the schema, which should only happen once we actually
|
# would upgrade the schema, which should only happen once we actually
|
||||||
# switch to the new configuration.
|
# 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}
|
export NIX_REMOTE=${NIX_REMOTE:-daemon}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user