guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: ci: Ignore package license.


From: guix-commits
Subject: branch master updated: ci: Ignore package license.
Date: Mon, 02 Nov 2020 04:34:50 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7c02eb6  ci: Ignore package license.
7c02eb6 is described below

commit 7c02eb6c8d7d050ecb8f3082c4a754ad32211403
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Nov 2 10:30:31 2020 +0100

    ci: Ignore package license.
    
    Fixes: <https://issues.guix.gnu.org/44370>.
    
    * gnu/ci.scm (package->alist): Ignore package license.
---
 gnu/ci.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/ci.scm b/gnu/ci.scm
index bf9952a..adcb04f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]