diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-05-19T14·56+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-06-16T15·36+0200 |
commit | 82ca6ef390b752faf1bf27b22daa34b29a4b00d4 (patch) | |
tree | 83b8824b72ec501f70ff588802016ef84abc65d6 /src | |
parent | e84c26564507388f2e8b7c7f2b00eb2b57856da1 (diff) |
Set $TERM
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 9de7613f8d7a..5a75403cfc98 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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"; } |