diff options
author | Qyriad <qyriad@qyriad.me> | 2024-06-01 18:25:16 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-06-01 18:29:19 -0600 |
commit | c55e93ca23eae608f2ff80e940f35f5daa6b4f7f (patch) | |
tree | 704d1e77e8b9c4aff4843725249fab7cd60a031e /src | |
parent | d374a9908f8f92e479c736a160ef90af6df4ca94 (diff) |
Revert "nix3: always use the same verbosity default (info)"
This reverts commit d0390b5cf2d232febaa89aa6d8b07c547513a460.
Other parts of the codebase will need to be adjusted in response to a
default verbosity change. Let's just push this to after 2.90.
Fixes #362.
Fixes #367.
Change-Id: I04648473579146851bda41d764adc1ef954c355d
Diffstat (limited to 'src')
-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; |