about summary refs log tree commit diff
path: root/third_party/nix/src/nix/verify.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/verify.cc')
-rw-r--r--third_party/nix/src/nix/verify.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/verify.cc b/third_party/nix/src/nix/verify.cc
index 6552e3d1a7e0..7de46f2a9c01 100644
--- a/third_party/nix/src/nix/verify.cc
+++ b/third_party/nix/src/nix/verify.cc
@@ -8,8 +8,7 @@
 #include "libutil/thread-pool.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdVerify final : StorePathsCommand {
   bool noContents = false;
   bool noTrust = false;
@@ -167,5 +166,6 @@ struct CmdVerify final : StorePathsCommand {
                (failed != 0u ? 4 : 0));
   }
 };
+}  // namespace nix
 
-static RegisterCommand r1(make_ref<CmdVerify>());
+static nix::RegisterCommand r1(nix::make_ref<nix::CmdVerify>());