about summary refs log tree commit diff
path: root/src/nix/run.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/run.cc
parent3ed8290e5331011609de462bda67857837998583 (diff)
nix build: Only download the requested derivation outputs
Also some refactoring.
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index 31c3c1464f1c..c72ede99c1c2 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -90,7 +90,7 @@ struct CmdRun : InstallablesCommand
 
     void run(ref<Store> store) override
     {
-        auto outPaths = toStorePaths(store, Build);
+        auto outPaths = toStorePaths(store, Build, installables);
 
         auto accessor = store->getFSAccessor();