diff options
author | eldritch horrors <pennae@lix.systems> | 2024-07-26 13:28:29 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-07-30 16:37:13 +0000 |
commit | 97a389b0bee7baf2d445121afa6ec84bef3a4bd7 (patch) | |
tree | 058ea8b5244ffb68cc189e1a61b6a5e4ff9f7e7e /src/libstore/build/derivation-goal.cc | |
parent | 53bfcf2586dea1a43c4d977edc3c78b1538761a7 (diff) |
libstore: move Goal::getBuildResult to BuildResult
there are no other uses for this yet, but asking for just a subset of
outputs does seem at least somewhat useful to have as a generic thing
Change-Id: I30ff5055a666c351b1b086b8d05b9d7c9fb1c77a
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index c0ca18310..38c54e854 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -1560,7 +1560,7 @@ void DerivationGoal::waiteeDone(GoalPtr waitee, ExitCode result) auto & outputs = nodeP->value; for (auto & outputName : outputs) { - auto buildResult = dg->getBuildResult(DerivedPath::Built { + auto buildResult = dg->buildResult.restrictTo(DerivedPath::Built { .drvPath = makeConstantStorePathRef(dg->drvPath), .outputs = OutputsSpec::Names { outputName }, }); |