about summary refs log tree commit diff
path: root/third_party/nix/src/nix/cat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/cat.cc')
-rw-r--r--third_party/nix/src/nix/cat.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/cat.cc b/third_party/nix/src/nix/cat.cc
index 49471100cf..9ead9a6ff6 100644
--- a/third_party/nix/src/nix/cat.cc
+++ b/third_party/nix/src/nix/cat.cc
@@ -21,7 +21,7 @@ struct MixCat : virtual Args {
   }
 };
 
-struct CmdCatStore : StoreCommand, MixCat {
+struct CmdCatStore final : StoreCommand, MixCat {
   CmdCatStore() { expectArg("path", &path); }
 
   std::string name() override { return "cat-store"; }
@@ -33,7 +33,7 @@ struct CmdCatStore : StoreCommand, MixCat {
   void run(ref<Store> store) override { cat(store->getFSAccessor()); }
 };
 
-struct CmdCatNar : StoreCommand, MixCat {
+struct CmdCatNar final : StoreCommand, MixCat {
   Path narPath;
 
   CmdCatNar() {