status: Use 'define-immutable-record-type' and its functional setters.
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 Feb 2019 09:51:23 +0000 (10:51 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 5 Feb 2019 11:03:25 +0000 (12:03 +0100)
commitc7465dcb96e8d35fb992f4e14c4e22251b951a98
treeb7ee5a3b498ae3a0b4f2e9269d5459fab3d7ad1b
parentf5fdc54d3a0845d0590c181d3bd6016f22765431
status: Use 'define-immutable-record-type' and its functional setters.

* guix/status.scm (<build>): Define using
'define-immutable-record-type', and add 'set-build-completion' binding.
(update-build)[set-completion]: Remove.
Use 'set-build-completion' instead.
guix/status.scm