summary refs log tree commit diff
path: root/src/nix-env
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-19 15:02:02 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-19 15:02:02 +0000
commitef5f254a55a2d6db09d3d0549ed45701558027e0 (patch)
tree0d494367c124e760a27f822c7faeb5bc5ec86a98 /src/nix-env
parent06c77bf7a861221d41b5db9fad3002f13a14ed0e (diff)
downloadguix-ef5f254a55a2d6db09d3d0549ed45701558027e0.tar.gz
* `nix-store --build' now builds its arguments in parallel instead of
  sequentially (within the limits set by `--jobs').  This should
  greatly improve the utilisation of the build farm when doing Nixpkgs
  builds.

Diffstat (limited to 'src/nix-env')
-rw-r--r--src/nix-env/main.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc
index 4d2ad0c897..d332108cc5 100644
--- a/src/nix-env/main.cc
+++ b/src/nix-env/main.cc
@@ -223,7 +223,9 @@ void createUserEnv(EvalState & state, const DrvInfos & drvs,
     
     /* Realise the resulting store expression. */
     debug(format("building user environment"));
-    buildDerivation(topLevelDrv.drvPath);
+    PathSet drvPaths;
+    drvPaths.insert(topLevelDrv.drvPath);
+    buildDerivations(drvPaths);
 
     /* Switch the current user environment to the output path. */
     debug(format("switching to new user environment"));