diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-10T13·58+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-10T20·40+0200 |
commit | ad228d84e56aeb1b5f77ae3bd3f8272f00782a8c (patch) | |
tree | 00e47bf7501c2c95e3790ac4a28e2abb27051c74 /src/nix/build.cc | |
parent | 3ed8290e5331011609de462bda67857837998583 (diff) |
nix build: Only download the requested derivation outputs
Also some refactoring.
Diffstat (limited to 'src/nix/build.cc')
-rw-r--r-- | src/nix/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/build.cc b/src/nix/build.cc index 42b3e42c69e1..915a066497b4 100644 --- a/src/nix/build.cc +++ b/src/nix/build.cc @@ -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]); |