aboutsummaryrefslogtreecommitdiff
path: root/src/nix/log.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/log.cc
parent7f9759b18d786d26574bfaf3fa00f71402615ff8 (diff)
DerivedPathWithHints -> BuiltPath
Just a renaming for now
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r--src/nix/log.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index 638bb5073..d87fda0b8 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -30,15 +30,15 @@ struct CmdLog : InstallableCommand
subs.push_front(store);
- auto b = installable->toDerivedPathWithHints();
+ auto b = installable->toBuiltPath();
RunPager pager;
for (auto & sub : subs) {
auto log = std::visit(overloaded {
- [&](DerivedPathWithHints::Opaque bo) {
+ [&](BuiltPath::Opaque bo) {
return sub->getBuildLog(bo.path);
},
- [&](DerivedPathWithHints::Built bfd) {
+ [&](BuiltPath::Built bfd) {
return sub->getBuildLog(bfd.drvPath);
},
}, b.raw());