From ef5f254a55a2d6db09d3d0549ed45701558027e0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 19 Jan 2005 15:02:02 +0000 Subject: * `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. --- src/nix-env/main.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/nix-env/main.cc') diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index 4d2ad0c8978e..d332108cc58d 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")); -- cgit 1.4.1