aboutsummaryrefslogtreecommitdiff
path: root/src/nix/log.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-15 22:09:32 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-12-20 14:24:14 +0100
commit845fc3f605be6dd1140ab81eefb969da1cc5346b (patch)
tree3807bfc4906819f2efb787e141358ef2a84c4dca /src/nix/log.cc
parent17373debe99396449534391aa26fe5f5eef74ce9 (diff)
Merge toDerivations() into toDerivedPaths()
toDerivedPaths() now returns DerivedPathWithInfo, which is DerivedPath with some attributes needed by 'nix profile' etc. Preparation for #7417.
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r--src/nix/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index 72d02ef11..a0598ca13 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -49,7 +49,7 @@ struct CmdLog : InstallableCommand
[&](const DerivedPath::Built & bfd) {
return logSub.getBuildLog(bfd.drvPath);
},
- }, b.raw());
+ }, b.path.raw());
if (!log) continue;
stopProgressBar();
printInfo("got build log for '%s' from '%s'", installable->what(), logSub.getUri());