Set $TERM

This commit is contained in:
Eelco Dolstra 2019-05-19 16:56:08 +02:00
parent e84c265645
commit 82ca6ef390
1 changed files with 3 additions and 0 deletions

View File

@ -2443,6 +2443,9 @@ void DerivationGoal::initEnv()
may change that in the future. So tell the builder which file
descriptor to use for that. */
env["NIX_LOG_FD"] = "2";
/* Trigger colored output in various tools. */
env["TERM"] = "xterm-256color";
}