diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-05-16T14·09+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-05-16T14·09+0200 |
commit | b01d62285cdcd376a8db1863049c68d8c7238837 (patch) | |
tree | 97662479c20edb683e81f82b26635915703da3ca /src/nix/installables.cc | |
parent | e80257f12209c8fbb709b901039ef5199111276e (diff) |
Improve progress indicator
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r-- | src/nix/installables.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 4756fc44bba7..f23308b9bc30 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -223,9 +223,9 @@ PathSet InstallablesCommand::buildInstallables(ref<Store> store, bool dryRun) buildables.insert(b.begin(), b.end()); } - printMissing(store, buildables); - - if (!dryRun) + if (dryRun) + printMissing(store, buildables); + else store->buildPaths(buildables); PathSet outPaths; |