summary refs log tree commit diff
path: root/gnu/ci.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-11-02 10:30:31 +0100
committerMathieu Othacehe <othacehe@gnu.org>2020-11-02 10:34:39 +0100
commit7c02eb6c8d7d050ecb8f3082c4a754ad32211403 (patch)
tree6fcdce7afd65b7c58210fce7d495181e140284b7 /gnu/ci.scm
parent48b00a4c7efadbb654bf28e9e4e61bb23f70a964 (diff)
downloadguix-7c02eb6c8d7d050ecb8f3082c4a754ad32211403.tar.gz
ci: Ignore package license.
Fixes: <https://issues.guix.gnu.org/44370>.

* gnu/ci.scm (package->alist): Ignore package license.
Diffstat (limited to 'gnu/ci.scm')
-rw-r--r--gnu/ci.scm11
1 files changed, 1 insertions, 10 deletions
diff --git a/gnu/ci.scm b/gnu/ci.scm
index bf9952a450..adcb04f380 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -89,16 +89,7 @@
         (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)