Skip to content

Commit

Permalink
Set $TERM
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed May 19, 2019
1 parent 78d3428 commit 638b612
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libstore/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}


Expand Down

0 comments on commit 638b612

Please sign in to comment.