diff options
Diffstat (limited to 'third_party/nix/src/nix/path-info.cc')
-rw-r--r-- | third_party/nix/src/nix/path-info.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/path-info.cc b/third_party/nix/src/nix/path-info.cc index 300a588a2ef9..fcf060d50d08 100644 --- a/third_party/nix/src/nix/path-info.cc +++ b/third_party/nix/src/nix/path-info.cc @@ -7,8 +7,7 @@ #include "libutil/json.hh" #include "nix/command.hh" -using namespace nix; - +namespace nix { struct CmdPathInfo final : StorePathsCommand, MixJSON { bool showSize = false; bool showClosureSize = false; @@ -129,5 +128,6 @@ struct CmdPathInfo final : StorePathsCommand, MixJSON { } } }; +} // namespace nix -static RegisterCommand r1(make_ref<CmdPathInfo>()); +static nix::RegisterCommand r1(nix::make_ref<nix::CmdPathInfo>()); |