about summary refs log tree commit diff
path: root/third_party/nix/src/nix-build
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-build')
-rw-r--r--third_party/nix/src/nix-build/nix-build.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/nix/src/nix-build/nix-build.cc b/third_party/nix/src/nix-build/nix-build.cc
index 26c308967724..c5a34a8475a3 100644
--- a/third_party/nix/src/nix-build/nix-build.cc
+++ b/third_party/nix/src/nix-build/nix-build.cc
@@ -242,6 +242,8 @@ static void _main(int argc, char** argv) {
         else if (*arg == "--keep") {
           keepVars.insert(getArg(*arg, arg, end));
 
+        } else if (*arg == "--quiet") {
+          FLAGS_stderrthreshold = google::GLOG_FATAL;
         } else if (*arg == "-") {
           readStdin = true;