about summary refs log tree commit diff
path: root/third_party/nix/src/nix/sigs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/sigs.cc')
-rw-r--r--third_party/nix/src/nix/sigs.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/sigs.cc b/third_party/nix/src/nix/sigs.cc
index 21d14bfface9..cc42613d0713 100644
--- a/third_party/nix/src/nix/sigs.cc
+++ b/third_party/nix/src/nix/sigs.cc
@@ -7,8 +7,7 @@
 #include "libutil/thread-pool.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdCopySigs final : StorePathsCommand {
   Strings substituterUris;
 
@@ -97,7 +96,7 @@ struct CmdCopySigs final : StorePathsCommand {
   }
 };
 
-static RegisterCommand r1(make_ref<CmdCopySigs>());
+static nix::RegisterCommand r1(make_ref<CmdCopySigs>());
 
 struct CmdSignPaths final : StorePathsCommand {
   Path secretKeyFile;
@@ -143,3 +142,5 @@ struct CmdSignPaths final : StorePathsCommand {
 };
 
 static RegisterCommand r3(make_ref<CmdSignPaths>());
+
+}  // namespace nix