diff options
Diffstat (limited to 'third_party/nix/src/nix/show-derivation.cc')
-rw-r--r-- | third_party/nix/src/nix/show-derivation.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/show-derivation.cc b/third_party/nix/src/nix/show-derivation.cc index 51c7ba9c291a..efe554710ff8 100644 --- a/third_party/nix/src/nix/show-derivation.cc +++ b/third_party/nix/src/nix/show-derivation.cc @@ -7,8 +7,7 @@ #include "libutil/json.hh" #include "nix/command.hh" -using namespace nix; - +namespace nix { struct CmdShowDerivation final : InstallablesCommand { bool recursive = false; @@ -109,5 +108,6 @@ struct CmdShowDerivation final : InstallablesCommand { std::cout << "\n"; } }; +} // namespace nix -static RegisterCommand r1(make_ref<CmdShowDerivation>()); +static nix::RegisterCommand r1(nix::make_ref<nix::CmdShowDerivation>()); |