about summary refs log tree commit diff
path: root/src/nix/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-10T13·58+0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-10T20·40+0200
commitad228d84e56aeb1b5f77ae3bd3f8272f00782a8c (patch)
tree00e47bf7501c2c95e3790ac4a28e2abb27051c74 /src/nix/build.cc
parent3ed8290e5331011609de462bda67857837998583 (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.cc2
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]);