guix-commits
[Top][All Lists]
Advanced

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

01/01: cuirass: Properly convert list of <license> objects.


From: Ludovic Courtès
Subject: 01/01: cuirass: Properly convert list of <license> objects.
Date: Mon, 15 Jan 2018 09:19:00 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit 403f2dccfcf992573ceeeae7c76c71b4884d3cd4
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 15 15:18:03 2018 +0100

    cuirass: Properly convert list of <license> objects.
    
    Fixes a bug whereby we would 'write' raw <license> objects when they
    were in a list.
    
    * build-aux/cuirass/gnu-system.scm (entry->sexp-entry): Add recursive
    case when O is a list.
---
 build-aux/cuirass/gnu-system.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build-aux/cuirass/gnu-system.scm b/build-aux/cuirass/gnu-system.scm
index c88267b..f545ba0 100644
--- a/build-aux/cuirass/gnu-system.scm
+++ b/build-aux/cuirass/gnu-system.scm
@@ -44,4 +44,6 @@
     ((? license?) `((name . (license-name o))
                     (uri . ,(license-uri o))
                     (comment . ,(license-comment o))))
+    ((lst ...)
+     (map entry->sexp-entry lst))
     (_ o)))



reply via email to

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