about summary refs log tree commit diff
path: root/third_party/nix/src/nix/installables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/installables.cc')
-rw-r--r--third_party/nix/src/nix/installables.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/nix/installables.cc b/third_party/nix/src/nix/installables.cc
index c6cfc4344f..5fe155ba16 100644
--- a/third_party/nix/src/nix/installables.cc
+++ b/third_party/nix/src/nix/installables.cc
@@ -98,7 +98,7 @@ Buildable Installable::toBuildable() {
   return std::move(buildables[0]);
 }
 
-struct InstallableStorePath : Installable {
+struct InstallableStorePath final : Installable {
   Path storePath;
 
   explicit InstallableStorePath(Path storePath)
@@ -158,7 +158,7 @@ struct InstallableValue : Installable {
   }
 };
 
-struct InstallableExpr : InstallableValue {
+struct InstallableExpr final : InstallableValue {
   std::string text;
 
   InstallableExpr(SourceExprCommand& cmd, std::string text)
@@ -173,7 +173,7 @@ struct InstallableExpr : InstallableValue {
   }
 };
 
-struct InstallableAttrPath : InstallableValue {
+struct InstallableAttrPath final : InstallableValue {
   std::string attrPath;
 
   InstallableAttrPath(SourceExprCommand& cmd, std::string attrPath)