ci: Fix buildproducts reading.

This is a follow-up of 4e05bbb093.

* guix/ci.scm (<build>)[products]: Test for vector type, as products can be
"null".
This commit is contained in:
Mathieu Othacehe 2020-06-15 09:47:41 +02:00
parent fdc9e9f53d
commit bb76f50b9b
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -70,7 +70,7 @@ (define-json-mapping <build> make-build build?
(lambda (products)
(map json->build-product
;; Before Cuirass 3db603c1, #f is always returned.
(if products
(if (vector? products)
(vector->list products)
'())))))