summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-06-15 09:47:41 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-06-15 09:53:02 +0200
commitbb76f50b9b788cae344958f92f6c850cce484579 (patch)
treed5d654508c001db02f12e5b4d18a1e7012cd8d1d
parentfdc9e9f53d01b9ce030848878803b57ae1a81ad3 (diff)
downloadguix-bb76f50b9b788cae344958f92f6c850cce484579.tar.gz
ci: Fix buildproducts reading.
This is a follow-up of 4e05bbb093a17145fcabd48ea1d2c9cd7559084d.

* guix/ci.scm (<build>)[products]: Test for vector type, as products can be
"null".
-rw-r--r--guix/ci.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ci.scm b/guix/ci.scm
index 36f85e1f12..97a9847657 100644
--- a/guix/ci.scm
+++ b/guix/ci.scm
@@ -70,7 +70,7 @@
                (lambda (products)
                  (map json->build-product
                       ;; Before Cuirass 3db603c1, #f is always returned.
-                      (if products
+                      (if (vector? products)
                           (vector->list products)
                           '())))))