about summary refs log tree commit diff
path: root/third_party/nix/src/nix/show-config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/show-config.cc')
-rw-r--r--third_party/nix/src/nix/show-config.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/show-config.cc b/third_party/nix/src/nix/show-config.cc
index 56448f9d606b..fd92e481e89a 100644
--- a/third_party/nix/src/nix/show-config.cc
+++ b/third_party/nix/src/nix/show-config.cc
@@ -4,8 +4,7 @@
 #include "libutil/json.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdShowConfig final : Command, MixJSON {
   CmdShowConfig() = default;
 
@@ -27,5 +26,6 @@ struct CmdShowConfig final : Command, MixJSON {
     }
   }
 };
+}  // namespace nix
 
-static RegisterCommand r1(make_ref<CmdShowConfig>());
+static nix::RegisterCommand r1(nix::make_ref<nix::CmdShowConfig>());