mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
Do no store timestamps in the build result in the build hook case
The variables are only set by CGroup mechanisms in `killSandbox` in the local build. In the build hook case, these variables will not be set, so there is nothing to do.
This commit is contained in:
parent
db8439c328
commit
a39ed67180
1 changed files with 0 additions and 8 deletions
|
@ -922,14 +922,6 @@ Goal::Co DerivationGoal::hookDone()
|
|||
/* Close the log file. */
|
||||
closeLogFile();
|
||||
|
||||
if (buildResult.cpuUser && buildResult.cpuSystem) {
|
||||
debug("builder for '%s' terminated with status %d, user CPU %.3fs, system CPU %.3fs",
|
||||
worker.store.printStorePath(drvPath),
|
||||
status,
|
||||
((double) buildResult.cpuUser->count()) / 1000000,
|
||||
((double) buildResult.cpuSystem->count()) / 1000000);
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
/* Check the exit status. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue