diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-03-31 14:46:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 14:46:15 +0200 |
commit | a7540294cfae82c098e8691cd5212a9184add574 (patch) | |
tree | e6ddf26579b0a887717d9cde7ddfccdf068bd703 /src/nix/installables.cc | |
parent | d4d456c6b16196d2acced587a9cb121bfce2a560 (diff) | |
parent | 3166b97174ab879dac3b19eb3f257e73a943fef0 (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.cc | 5 |
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 |