about summary refs log tree commit diff
path: root/third_party/nix/src/nix/build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/build.cc')
-rw-r--r--third_party/nix/src/nix/build.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/build.cc b/third_party/nix/src/nix/build.cc
index b0e8feefd3..3fe74b7ffd 100644
--- a/third_party/nix/src/nix/build.cc
+++ b/third_party/nix/src/nix/build.cc
@@ -3,8 +3,7 @@
 #include "libstore/store-api.hh"
 #include "nix/command.hh"
 
-using namespace nix;
-
+namespace nix {
 struct CmdBuild final : MixDryRun, InstallablesCommand {
   Path outLink = "result";
 
@@ -64,5 +63,6 @@ struct CmdBuild final : MixDryRun, InstallablesCommand {
     }
   }
 };
+}  // namespace nix
 
-static RegisterCommand r1(make_ref<CmdBuild>());
+static nix::RegisterCommand r1(nix::make_ref<nix::CmdBuild>());