aboutsummaryrefslogtreecommitdiff
path: root/src/nix/develop.cc
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-05-12 16:19:51 +0200
committerregnat <rg@regnat.ovh>2021-05-12 16:19:51 +0200
commitec613603ba324bf12f8f554d74fb1a02c6e9b472 (patch)
tree5fefc7964ba6ebe34ee0b3ad4be053c52434d8b4 /src/nix/develop.cc
parent7f9759b18d786d26574bfaf3fa00f71402615ff8 (diff)
DerivedPathWithHints -> BuiltPath
Just a renaming for now
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r--src/nix/develop.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc
index 498a7b45c..3762e5bcc 100644
--- a/src/nix/develop.cc
+++ b/src/nix/develop.cc
@@ -265,7 +265,7 @@ struct Common : InstallableCommand, MixProfile
for (auto & [installable_, dir_] : redirects) {
auto dir = absPath(dir_);
auto installable = parseInstallable(store, installable_);
- auto buildable = installable->toDerivedPathWithHints();
+ auto buildable = installable->toBuiltPath();
auto doRedirect = [&](const StorePath & path)
{
auto from = store->printStorePath(path);
@@ -277,10 +277,10 @@ struct Common : InstallableCommand, MixProfile
}
};
std::visit(overloaded {
- [&](const DerivedPathWithHints::Opaque & bo) {
+ [&](const BuiltPath::Opaque & bo) {
doRedirect(bo.path);
},
- [&](const DerivedPathWithHints::Built & bfd) {
+ [&](const BuiltPath::Built & bfd) {
for (auto & [outputName, path] : bfd.outputs)
if (path) doRedirect(*path);
},