about summary refs log tree commit diff
path: root/third_party/nix/src/nix/ls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/ls.cc')
-rw-r--r--third_party/nix/src/nix/ls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/ls.cc b/third_party/nix/src/nix/ls.cc
index aa461675ad..afa4db92bc 100644
--- a/third_party/nix/src/nix/ls.cc
+++ b/third_party/nix/src/nix/ls.cc
@@ -88,7 +88,7 @@ struct MixLs : virtual Args, MixJSON {
   }
 };
 
-struct CmdLsStore : StoreCommand, MixLs {
+struct CmdLsStore final : StoreCommand, MixLs {
   CmdLsStore() { expectArg("path", &path); }
 
   Examples examples() override {
@@ -108,7 +108,7 @@ struct CmdLsStore : StoreCommand, MixLs {
   void run(ref<Store> store) override { list(store->getFSAccessor()); }
 };
 
-struct CmdLsNar : Command, MixLs {
+struct CmdLsNar final : Command, MixLs {
   Path narPath;
 
   CmdLsNar() {