mirror of
https://github.com/NixOS/nix
synced 2025-06-30 15:48:00 +02:00
* `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.
This commit is contained in:
parent
06c77bf7a8
commit
ef5f254a55
4 changed files with 37 additions and 24 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue