about summary refs log tree commit diff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r--src/nix-store/nix-store.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 7ce5f63c2d2f..7baaa80ef306 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -140,7 +140,8 @@ static void opRealise(Strings opFlags, Strings opArgs)
         unknown = PathSet();
     }
 
-    printMissing(willBuild, willSubstitute, unknown, downloadSize, narSize);
+    if (settings.get("print-missing", true))
+        printMissing(willBuild, willSubstitute, unknown, downloadSize, narSize);
 
     if (dryRun) return;