diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-18T20·30+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-18T20·30+0100 |
commit | 2097983218094fca194c64cb2275cc625f41a018 (patch) | |
tree | fc21372625e74d73157e886fa75b8bb5c36d0451 /src/nix | |
parent | 2f0122b23cb0b9e15bcda81ef188190ada899b1a (diff) |
Doh
Diffstat (limited to 'src/nix')
-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() |