diff options
-rw-r--r-- | src/nix/main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index 5d92cfd76..074a59049 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -365,6 +365,11 @@ void mainWrapped(int argc, char * * argv) setLogFormat("bar"); settings.verboseBuild = false; + if (isatty(STDERR_FILENO)) { + verbosity = lvlNotice; + } else { + verbosity = lvlInfo; + } NixArgs args; |