From a30637aba51d9ab0fc85a8ba70c001b3f9d5bc3f Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 25 Apr 2010 18:26:51 +0000 Subject: [PATCH] Really use nix-worker in nixos-rebuild svn path=/nixos/trunk/; revision=21307 --- modules/installer/tools/nixos-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/installer/tools/nixos-rebuild.sh b/modules/installer/tools/nixos-rebuild.sh index 5c1faf7eb4f1..8d87b59bfb21 100644 --- a/modules/installer/tools/nixos-rebuild.sh +++ b/modules/installer/tools/nixos-rebuild.sh @@ -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