Handle derivations with no known build

When displaying build stats.
This commit is contained in:
Christopher Baines 2019-12-22 11:39:40 +00:00
parent 89e34f3df8
commit ff433dfce6

View file

@ -1179,9 +1179,12 @@ figure {
`(tr
(td ,(build-status-span status))
,@(map (lambda (id)
`(td ,(or (assq-ref counts-by-build-server-id
id)
0)))
`(td ,(if (string-null? status)
(assq-ref counts-by-build-server-id
#f)
(or (assq-ref counts-by-build-server-id
id)
0))))
(map cdr build-server-options)))))
stats)))))
(div