aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/installables.cc')
-rw-r--r--src/nix/installables.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index d43f86c0c..aa5ef5184 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -102,6 +102,11 @@ struct InstallableStorePath : Installable
{
return {{isDerivation(storePath) ? storePath : "", {{"out", storePath}}}};
}
+
+ std::optional<Path> getStorePath() override
+ {
+ return storePath;
+ }
};
struct InstallableValue : Installable