about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/get-drvs.cc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-19T00·24+0100
committerVincent Ambo <tazjin@google.com>2020-05-19T00·24+0100
commit939dd9f8176266add4d88572203739fa74b14fa5 (patch)
treea1458c60656ee8d11651888b3b622039e65d8bca /third_party/nix/src/libexpr/get-drvs.cc
parentd0c44425e147ab7d38410f400825ad20da15037b (diff)
refactor(3p/nix/libexpr): Replace logging.h with glog r/758
Diffstat (limited to 'third_party/nix/src/libexpr/get-drvs.cc')
-rw-r--r--third_party/nix/src/libexpr/get-drvs.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/get-drvs.cc b/third_party/nix/src/libexpr/get-drvs.cc
index cdbcb7d762..b25556b34c 100644
--- a/third_party/nix/src/libexpr/get-drvs.cc
+++ b/third_party/nix/src/libexpr/get-drvs.cc
@@ -4,6 +4,7 @@
 #include "derivations.hh"
 #include "eval-inline.hh"
 #include "util.hh"
+#include <glog/logging.h>
 
 namespace nix {
 
@@ -301,7 +302,7 @@ static void getDerivations(EvalState& state, Value& vIn,
        bound to the attribute with the "lower" name should take
        precedence). */
     for (auto& i : v.attrs->lexicographicOrder()) {
-      debug("evaluating attribute '%1%'", i->name);
+      DLOG(INFO) << "evaluating attribute '" << i->name << "'";
       if (!std::regex_match(std::string(i->name), attrRegex)) continue;
       string pathPrefix2 = addToPath(pathPrefix, i->name);
       if (combineChannels)