about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-06-23T00·53-0400
committerglittershark <grfn@gws.fyi>2020-06-23T12·37+0000
commitb94d9f89dc758560a3d5c6716975e79d56820d9e (patch)
treedfa09a84acbbd0b055b3202596d252e747fbb1fa /third_party/nix/src/libexpr
parentde5db029e8943c8d55409fba9ce7cf8bc4dd9382 (diff)
fix(3p/nix): Make traces log, not dlog r/1066
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>
Diffstat (limited to 'third_party/nix/src/libexpr')
-rw-r--r--third_party/nix/src/libexpr/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/primops.cc b/third_party/nix/src/libexpr/primops.cc
index 67a8a03ab02d..b238da762d22 100644
--- a/third_party/nix/src/libexpr/primops.cc
+++ b/third_party/nix/src/libexpr/primops.cc
@@ -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];