about summary refs log tree commit diff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T14·43+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-03-04T14·43+0100
commit71b0a3a86bfd24b2a39df9b5f03b22d9faee64e8 (patch)
treef6d008577b93ae53fdf47ee8ba8ae06f004155a9 /src/nix-store/nix-store.cc
parent75ede65e3d2527cd9087c5a6970c4c5e6e26a0a8 (diff)
Add option to hide display of missing paths
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;