fix(3p/nix): Initialise glog when starting nix-daemon
Change-Id: Ic9b5bd2f66fb54675498d8328edecfd31a03997a Reviewed-on: https://cl.tvl.fyi/c/depot/+/1630 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
31b9578ad0
commit
ae31f51dc8
1 changed files with 3 additions and 0 deletions
3
third_party/nix/src/nix-daemon/nix-daemon.cc
vendored
3
third_party/nix/src/nix-daemon/nix-daemon.cc
vendored
|
@ -113,6 +113,9 @@ int RunServer() {
|
|||
} // namespace nix::daemon
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
FLAGS_logtostderr = true;
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
||||
absl::SetFlagsUsageConfig({.version_string = [] { return nix::nixVersion; }});
|
||||
absl::ParseCommandLine(argc, argv);
|
||||
|
||||
|
|
Loading…
Reference in a new issue