status: Keep track of the current build phase.
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 Feb 2019 10:24:44 +0000 (11:24 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 5 Feb 2019 11:03:25 +0000 (12:03 +0100)
commitba514b601ba6be15b823e0a12d4b6e42f9d2489e
tree286c42f6202954263a460f5fe44fd59c76da6a38
parentc7465dcb96e8d35fb992f4e14c4e22251b951a98
status: Keep track of the current build phase.

* guix/status.scm (<build>)[phase]: New field.
(%phase-start-rx): New variable.
(update-build): Add clause to match %PHASE-START-RX and adjust the
'phase' field accordingly.
* tests/status.scm ("compute-status, build phase"): Add test
guix/status.scm
tests/status.scm