From 95a57f15ca795eb1b36363b7d6db6b88bfe444e2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 04:52:47 +0100 Subject: refactor(3p/nix/nix-*): Replace logging with glog in binaries --- third_party/nix/src/nix-build/nix-build.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/nix/src/nix-build') diff --git a/third_party/nix/src/nix-build/nix-build.cc b/third_party/nix/src/nix-build/nix-build.cc index 3cd78d940919..0e6a5631f951 100644 --- a/third_party/nix/src/nix-build/nix-build.cc +++ b/third_party/nix/src/nix-build/nix-build.cc @@ -1,3 +1,4 @@ +#include #include #include #include @@ -359,8 +360,7 @@ static void _main(int argc, char** argv) { shell = drv->queryOutPath() + "/bin/bash"; } catch (Error& e) { - printError("warning: %s; will use bash from your environment", - e.what()); + LOG(WARNING) << e.what() << "; will use bash from your environment"; shell = "bash"; } } -- cgit 1.4.1