diff options
Diffstat (limited to 'third_party/nix/src/nix/log.cc')
-rw-r--r-- | third_party/nix/src/nix/log.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/log.cc b/third_party/nix/src/nix/log.cc index 623d16e5d254..84207d8576ea 100644 --- a/third_party/nix/src/nix/log.cc +++ b/third_party/nix/src/nix/log.cc @@ -5,8 +5,7 @@ #include "libstore/store-api.hh" #include "nix/command.hh" -using namespace nix; - +namespace nix { struct CmdLog final : InstallableCommand { CmdLog() = default; @@ -59,5 +58,6 @@ struct CmdLog final : InstallableCommand { throw Error("build log of '%s' is not available", installable->what()); } }; +} // namespace nix -static RegisterCommand r1(make_ref<CmdLog>()); +static nix::RegisterCommand r1(nix::make_ref<nix::CmdLog>()); |