nix build: Only download the requested derivation outputs
Also some refactoring.
This commit is contained in:
parent
3ed8290e53
commit
ad228d84e5
5 changed files with 52 additions and 18 deletions
|
|
@ -51,7 +51,7 @@ struct CmdBuild : MixDryRun, InstallablesCommand
|
|||
|
||||
void run(ref<Store> store) override
|
||||
{
|
||||
auto buildables = toBuildables(store, dryRun ? DryRun : Build);
|
||||
auto buildables = toBuildables(store, dryRun ? DryRun : Build, installables);
|
||||
|
||||
for (size_t i = 0; i < buildables.size(); ++i) {
|
||||
auto & b(buildables[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue