refactor(3p/nix/nix-*): Replace logging with glog in binaries
This commit is contained in:
parent
9aa2ecd78c
commit
95a57f15ca
21 changed files with 120 additions and 168 deletions
4
third_party/nix/src/nix-build/nix-build.cc
vendored
4
third_party/nix/src/nix-build/nix-build.cc
vendored
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue