1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-05 16:41:01 +01:00

Log build/substitution finishes

This commit is contained in:
Eelco Dolstra 2020-11-27 11:31:44 +01:00
parent 846c028609
commit 101b15663b
4 changed files with 32 additions and 0 deletions

View file

@ -53,6 +53,9 @@ struct SubstitutionGoal : public Goal
/* Content address for recomputing store path */
std::optional<ContentAddress> ca;
/* Time substitution started. */
std::chrono::time_point<std::chrono::steady_clock> startTime;
SubstitutionGoal(const StorePath & storePath, Worker & worker, RepairFlag repair = NoRepair, std::optional<ContentAddress> ca = std::nullopt);
~SubstitutionGoal();