aboutsummaryrefslogtreecommitdiff
path: root/src/nix/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-17 09:12:03 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-06-17 09:12:03 +0200
commit615a9d031d22a6aee64f8511e15685e47b6f8796 (patch)
treeddf37d4cf86f100ed440abe17f2133c94a0e252f /src/nix/main.cc
parent8ea842260b4fd93315d35c5ba94b1ff99ab391d8 (diff)
Add "warning" verbosity level
This ensures that "nix" shows warnings. Previously these were hidden because they were at "info" level.
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r--src/nix/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index a1fcb892a..ced87f653 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -102,7 +102,7 @@ void mainWrapped(int argc, char * * argv)
if (legacy) return legacy(argc, argv);
}
- verbosity = lvlError;
+ verbosity = lvlWarn;
settings.verboseBuild = false;
evalSettings.pureEval = true;