~ruther/guix-local

56e3cbddb6586d02f886e9d0f27feadb17d657b0 — Attila Lendvai 1 year, 10 months ago b59632d
committer: Fix for inputs that are lists by using object->string.

* etc/committer.scm.in (change-commit-message): Use object->string to deal
with more complex dependency specifications.

Change-Id: Ieee39709fd3eb26368df400a9228d77aa97a9d9d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 3 insertions(+), 2 deletions(-)

M etc/committer.scm.in
M etc/committer.scm.in => etc/committer.scm.in +3 -2
@@ 301,8 301,9 @@ corresponding to the top-level definition containing the staged changes."
                      (format port
                              "[~a]: ~a~%" field
                              (break-string
                               (match (list (map symbol->string removed)
                                            (map symbol->string added))
                               ;; A dependency can be a list of (pkg output).
                               (match (list (map object->string removed)
                                            (map object->string added))
                                 ((() added)
                                  (format #f "Add ~a."
                                          (listify added)))