diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-27 16:58:15 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-27 16:58:15 -0400 |
commit | 1aba0bf0fa831ffee628ae50730eade5b19a544f (patch) | |
tree | 802eb8026a8357d87123a73fc49282381b5fd734 /src/nix-worker | |
parent | 42f5a2fc297f841d982f07062c653b27557a3cd5 (diff) |
nix-store -r: do substitutions in parallel
I.e. when multiple non-derivation arguments are passed to ‘nix-store
-r’ to be substituted, do them in parallel.
Diffstat (limited to 'src/nix-worker')
-rw-r--r-- | src/nix-worker/nix-worker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index 6131e73e6..2f0a2ab20 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<PathSet>(from); startWork(); - store->buildDerivations(drvs); + store->buildPaths(drvs); stopWork(); writeInt(1, to); break; |