Include the status of derivations

On the comparison page.
This commit is contained in:
Christopher Baines 2019-03-06 22:58:05 +00:00
parent 7a90afe980
commit e656b0967b
Signed by: cbaines
GPG key ID: 5E28A33B0B84F577
4 changed files with 63 additions and 22 deletions

View file

@ -326,13 +326,15 @@
(@ (class "table"))
(thead
(tr
(th (@ (class "col-md-12")) "File Name")))
(th (@ (class "col-md-8")) "File Name")
(th (@ (class "col-md-4")) "Build status")))
(tbody
,@(map
(match-lambda
((id file-name)
((id file-name build-status)
`(tr
(td ,file-name))))
(td ,file-name)
(td ,build-status))))
base-derivations))))
(div
(@ (class "row"))
@ -344,13 +346,15 @@
(@ (class "table"))
(thead
(tr
(th (@ (class "col-md-12")) "File Name")))
(th (@ (class "col-md-8")) "File Name")
(th (@ (class "col-md-4")) "Build status")))
(tbody
,@(map
(match-lambda
((id file-name)
((id file-name build-status)
`(tr
(td ,file-name))))
(td ,file-name)
(td ,build-status))))
target-derivations))))))))
(define (compare/packages base-commit