about summary refs log tree commit diff
path: root/third_party/nix/src/nix/dump-path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/dump-path.cc')
-rw-r--r--third_party/nix/src/nix/dump-path.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/dump-path.cc b/third_party/nix/src/nix/dump-path.cc
index 4ca5f1bc0277..1d0a996e561c 100644
--- a/third_party/nix/src/nix/dump-path.cc
+++ b/third_party/nix/src/nix/dump-path.cc
@@ -1,8 +1,7 @@
 #include "libstore/store-api.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdDumpPath final : StorePathCommand {
   std::string name() override { return "dump-path"; }
 
@@ -24,5 +23,6 @@ struct CmdDumpPath final : StorePathCommand {
     sink.flush();
   }
 };
+}  // namespace nix
 
-static RegisterCommand r1(make_ref<CmdDumpPath>());
+static nix::RegisterCommand r1(nix::make_ref<nix::CmdDumpPath>());