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/libstore/remote-store.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstore/remote-store.cc') diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index cbcf860543e2..5e5561a6aecf 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -397,10 +397,10 @@ Paths RemoteStore::importPaths(bool requireSignature, Source & source) } -void RemoteStore::buildDerivations(const PathSet & drvPaths) +void RemoteStore::buildPaths(const PathSet & drvPaths) { openConnection(); - writeInt(wopBuildDerivations, to); + writeInt(wopBuildPaths, to); writeStrings(drvPaths, to); processStderr(); readInt(from); -- cgit 1.4.1