ci: Ignore package license.
authorMathieu Othacehe <othacehe@gnu.org>
Mon, 2 Nov 2020 09:30:31 +0000 (10:30 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Mon, 2 Nov 2020 09:34:39 +0000 (10:34 +0100)
Fixes: <https://issues.guix.gnu.org/44370>.

* gnu/ci.scm (package->alist): Ignore package license.

gnu/ci.scm

index bf9952a..adcb04f 100644 (file)
         (system . ,(derivation-system drv))
         (description . ,(package-synopsis package))
         (long-description . ,(package-description package))
-
-        ;; XXX: Hydra ignores licenses that are not a <license> structure or a
-        ;; list thereof.
-        (license . ,(let loop ((license (package-license package)))
-                      (match license
-                        ((? license?)
-                         (license-name license))
-                        ((lst ...)
-                         (map loop license)))))
-
+        (license . ,(package-license package))
         (home-page . ,(package-home-page package))
         (maintainers . ("bug-guix@gnu.org"))
         (max-silent-time . ,(or (assoc-ref (package-properties package)