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. */ /* The derivation we built or the store path we substituted. */
DerivedPath path; DerivedPath path;
/* For derivations, the derivation path and the wanted outputs. */ /* For derivations, a mapping from the names of the wanted outputs
std::optional<StorePath> drvPath; to actual paths. */
DrvOutputs builtOutputs; DrvOutputs builtOutputs;
/* The start/stop times of the build (or one of the rounds, if it /* 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, DrvOutputs builtOutputs,
std::optional<Error> ex) std::optional<Error> ex)
{ {
buildResult.drvPath = drvPath;
buildResult.status = status; buildResult.status = status;
if (ex) if (ex)
// FIXME: strip: "error: " // FIXME: strip: "error: "