From 2097983218094fca194c64cb2275cc625f41a018 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 18 Feb 2020 21:30:31 +0100 Subject: [PATCH] Doh --- src/nix/progress-bar.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index 28199c917..98049b5da 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()