about summary refs log tree commit diff
path: root/third_party/nix/src/nix/installables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r--third_party/nix/src/nix/installables.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc
index 633b6d58e170..8a2a5fd19d94 100644
--- a/third_party/nix/src/nix/installables.cc
+++ b/third_party/nix/src/nix/installables.cc
@@ -241,9 +241,9 @@ Buildables build(ref<Store> store, RealiseMode mode,
     }
   }
 
-  if (mode == DryRun)
-    printMissing(store, pathsToBuild, lvlError);
-  else if (mode == Build)
+  if (mode == DryRun) {
+    printMissing(store, pathsToBuild);
+  } else if (mode == Build)
     store->buildPaths(pathsToBuild);
 
   return buildables;