aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaeer Bar-Yam <taeer.bar-yam@tweag.io>2022-12-08 16:59:21 -0500
committerTaeer Bar-Yam <taeer.bar-yam@tweag.io>2022-12-08 16:59:21 -0500
commit3b27181ee54176aba2cdff98028586048e08e74d (patch)
treec92a3c82f186992cf40707ee11026d852cc0486a
parent04b113f6cb5356d44992f98928a595cdf93d561a (diff)
fix missing function after rebase
-rw-r--r--src/libstore/store-api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index ebd641aa4..6c0261446 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -1317,7 +1317,7 @@ std::optional<StorePath> Store::getBuildDerivationPath(const StorePath & path)
return path;
auto drv = readDerivation(path);
- if (!derivationHasKnownOutputPaths(drv.type())) {
+ if (!drv.type().hasKnownOutputPaths()) {
// The build log is actually attached to the corresponding
// resolved derivation, so we need to get it first
auto resolvedDrv = drv.tryResolve(*this);