fix missing function after rebase

This commit is contained in:
Taeer Bar-Yam 2022-12-08 16:59:21 -05:00
parent 04b113f6cb
commit 3b27181ee5

View file

@ -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);