From 1aba0bf0fa831ffee628ae50730eade5b19a544f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Jun 2012 16:58:15 -0400 Subject: nix-store -r: do substitutions in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I.e. when multiple non-derivation arguments are passed to ‘nix-store -r’ to be substituted, do them in parallel. --- src/nix-worker/nix-worker.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nix-worker') diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index 6131e73e6c..2f0a2ab209 100644 --- a/src/nix-worker/nix-worker.cc +++ b/src/nix-worker/nix-worker.cc @@ -415,10 +415,10 @@ static void performOp(unsigned int clientVersion, break; } - case wopBuildDerivations: { + case wopBuildPaths: { PathSet drvs = readStorePaths(from); startWork(); - store->buildDerivations(drvs); + store->buildPaths(drvs); stopWork(); writeInt(1, to); break; -- cgit 1.4.1