Set $TERM

This commit is contained in:
Eelco Dolstra 2019-05-19 16:56:08 +02:00
parent e84c265645
commit 82ca6ef390

View file

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