From c370755583d7350f4b96136eb0a6a8a7b08551b1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 16 Nov 2007 16:15:26 +0000 Subject: * Flag `--no-build-hook' to disable distributed builds. * queryDeriver in daemon mode: don't barf if the other side returns an empty string (which means there is no deriver). --- scripts/nix-push.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/nix-push.in b/scripts/nix-push.in index dd00841d7d04..6250f8b0a5c9 100644 --- a/scripts/nix-push.in +++ b/scripts/nix-push.in @@ -146,7 +146,7 @@ while (scalar @tmp > 0) { # probably wouldn't make that much sense; pumping lots of data # around just to compress them won't gain that much. $ENV{"NIX_BUILD_HOOK"} = ""; - my $pid = open(READ, "$binDir/nix-store --realise @tmp2|") + my $pid = open(READ, "$binDir/nix-store --no-build-hook --realise @tmp2|") or die "cannot run nix-store"; while () { chomp; -- cgit 1.4.1