ci: Restore license handling.
This is a follow-up ofmaster7c02eb6c
and44daec7f
. Restore the initial behaviour. * gnu/ci.scm (package->alist): Restore license handling.
parent
1077d54f6e
commit
b5f2a035f9
11
gnu/ci.scm
11
gnu/ci.scm
|
@ -89,7 +89,16 @@
|
||||||
(system . ,(derivation-system drv))
|
(system . ,(derivation-system drv))
|
||||||
(description . ,(package-synopsis package))
|
(description . ,(package-synopsis package))
|
||||||
(long-description . ,(package-description package))
|
(long-description . ,(package-description package))
|
||||||
(license . ,(and=> (package-license package) license-name))
|
|
||||||
|
;; 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)))))
|
||||||
|
|
||||||
(home-page . ,(package-home-page package))
|
(home-page . ,(package-home-page package))
|
||||||
(maintainers . ("bug-guix@gnu.org"))
|
(maintainers . ("bug-guix@gnu.org"))
|
||||||
(max-silent-time . ,(or (assoc-ref (package-properties package)
|
(max-silent-time . ,(or (assoc-ref (package-properties package)
|
||||||
|
|
Reference in New Issue