refactor(3p/nix/libexpr): Replace logging.h with glog

This commit is contained in:
Vincent Ambo 2020-05-19 01:24:50 +01:00
parent d0c44425e1
commit 939dd9f817
8 changed files with 37 additions and 35 deletions

View file

@ -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)