about summary refs log tree commit diff
path: root/third_party/nix/src/nix-build/nix-build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-build/nix-build.cc')
-rw-r--r--third_party/nix/src/nix-build/nix-build.cc4
1 files changed, 2 insertions, 2 deletions
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 <glog/logging.h>
 #include <cstring>
 #include <fstream>
 #include <iostream>
@@ -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";
       }
     }