BuildResult: Remove unused drvPath field

This commit is contained in:
Eelco Dolstra 2022-03-09 20:31:50 +01:00
parent 1c1a7074da
commit 4d98143914
2 changed files with 2 additions and 3 deletions

View file

@ -67,8 +67,8 @@ struct BuildResult
/* The derivation we built or the store path we substituted. */
DerivedPath path;
/* For derivations, the derivation path and the wanted outputs. */
std::optional<StorePath> drvPath;
/* For derivations, a mapping from the names of the wanted outputs
to actual paths. */
DrvOutputs builtOutputs;
/* The start/stop times of the build (or one of the rounds, if it

View file

@ -1324,7 +1324,6 @@ void DerivationGoal::done(
DrvOutputs builtOutputs,
std::optional<Error> ex)
{
buildResult.drvPath = drvPath;
buildResult.status = status;
if (ex)
// FIXME: strip: "error: "