fix(3p/nix): Make traces log, not dlog
We don't want traces compiled out since they're an actual language feature that're used in userspace - also their absence is breaking the tests Change-Id: Icaefca8f52e94001785f724fdc0c10a7586b24e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/562 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: lukegbot <bot@lukegb.com>
This commit is contained in:
parent
de5db029e8
commit
b94d9f89dc
1 changed files with 2 additions and 2 deletions
4
third_party/nix/src/libexpr/primops.cc
vendored
4
third_party/nix/src/libexpr/primops.cc
vendored
|
@ -532,9 +532,9 @@ static void prim_trace(EvalState& state, const Pos& pos, Value** args,
|
|||
Value& v) {
|
||||
state.forceValue(*args[0]);
|
||||
if (args[0]->type == tString) {
|
||||
DLOG(INFO) << "trace: " << args[0]->string.s;
|
||||
LOG(INFO) << "trace: " << args[0]->string.s;
|
||||
} else {
|
||||
DLOG(INFO) << "trace: " << *args[0];
|
||||
LOG(INFO) << "trace: " << *args[0];
|
||||
}
|
||||
state.forceValue(*args[1]);
|
||||
v = *args[1];
|
||||
|
|
Loading…
Reference in a new issue