mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
ci: Restore license handling.
This is a follow-up of7c02eb6c
and44daec7f
. Restore the initial behaviour. * gnu/ci.scm (package->alist): Restore license handling.
This commit is contained in:
parent
1077d54f6e
commit
b5f2a035f9
1 changed files with 10 additions and 1 deletions
11
gnu/ci.scm
11
gnu/ci.scm
|
@ -89,7 +89,16 @@ (define* (package->alist store package system
|
|||
(system . ,(derivation-system drv))
|
||||
(description . ,(package-synopsis 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))
|
||||
(maintainers . ("bug-guix@gnu.org"))
|
||||
(max-silent-time . ,(or (assoc-ref (package-properties package)
|
||||
|
|
Loading…
Reference in a new issue