diff options
Diffstat (limited to 'third_party/nix/src/nix/cat.cc')
-rw-r--r-- | third_party/nix/src/nix/cat.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/third_party/nix/src/nix/cat.cc b/third_party/nix/src/nix/cat.cc index 9ead9a6ff69d..7788707eae56 100644 --- a/third_party/nix/src/nix/cat.cc +++ b/third_party/nix/src/nix/cat.cc @@ -3,8 +3,7 @@ #include "libstore/store-api.hh" #include "nix/command.hh" -using namespace nix; - +namespace nix { struct MixCat : virtual Args { std::string path; @@ -51,6 +50,7 @@ struct CmdCatNar final : StoreCommand, MixCat { cat(makeNarAccessor(make_ref<std::string>(readFile(narPath)))); } }; +} // namespace nix -static RegisterCommand r1(make_ref<CmdCatStore>()); -static RegisterCommand r2(make_ref<CmdCatNar>()); +static nix::RegisterCommand r1(nix::make_ref<nix::CmdCatStore>()); +static nix::RegisterCommand r2(nix::make_ref<nix::CmdCatNar>()); |