diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/progress-bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index 28199c917fcd..98049b5daf9c 100644 --- a/src/nix/progress-bar.cc +++ b/src/nix/progress-bar.cc @@ -441,7 +441,7 @@ void startProgressBar(bool printBuildLogs) { logger = new ProgressBar( printBuildLogs, - isatty(STDERR_FILENO) && getEnv("TERM").value_or("dumb") != "dumb"); + isatty(STDERR_FILENO) && getEnv("TERM", "dumb") != "dumb"); } void stopProgressBar() |