aboutsummaryrefslogtreecommitdiff
path: root/src/nix/installables.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-03-31 14:46:15 +0200
committerGitHub <noreply@github.com>2020-03-31 14:46:15 +0200
commita7540294cfae82c098e8691cd5212a9184add574 (patch)
treee6ddf26579b0a887717d9cde7ddfccdf068bd703 /src/nix/installables.cc
parentd4d456c6b16196d2acced587a9cb121bfce2a560 (diff)
parent3166b97174ab879dac3b19eb3f257e73a943fef0 (diff)
Merge pull request #3460 from NixOS/dev-shell
Backport 'nix dev-shell' from the flakes branch
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 013218cd9..f464d0aa1 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -109,6 +109,11 @@ struct InstallableStorePath : Installable
bs.push_back(std::move(b));
return bs;
}
+
+ std::optional<StorePath> getStorePath() override
+ {
+ return storePath.clone();
+ }
};
struct InstallableValue : Installable