From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MOv3GZHPwWNa6gAAbAwnHQ (envelope-from ) for ; Fri, 13 Jan 2023 22:39:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aELhGZHPwWMYrAAAauVa8A (envelope-from ) for ; Fri, 13 Jan 2023 22:39:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 43F0FAE1F for ; Fri, 13 Jan 2023 22:39:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGRlR-00039I-Pk; Fri, 13 Jan 2023 16:39:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGRlP-00038z-7q for guix-patches@gnu.org; Fri, 13 Jan 2023 16:39:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGRlO-000747-Vq for guix-patches@gnu.org; Fri, 13 Jan 2023 16:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGRlO-0005T1-90 for guix-patches@gnu.org; Fri, 13 Jan 2023 16:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60582] [PATCH v3 1/2] services: configuration: Format a list of packages by their names. References: In-Reply-To: Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Jan 2023 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60582 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60582@debbugs.gnu.org Cc: Bruno Victal Received: via spool by 60582-submit@debbugs.gnu.org id=B60582.167364588620934 (code B ref 60582); Fri, 13 Jan 2023 21:39:02 +0000 Received: (at 60582) by debbugs.gnu.org; 13 Jan 2023 21:38:06 +0000 Received: from localhost ([127.0.0.1]:52540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGRkU-0005Ra-JG for submit@debbugs.gnu.org; Fri, 13 Jan 2023 16:38:06 -0500 Received: from smtpmciv4.myservices.hosting ([185.26.107.240]:49428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGRkS-0005RQ-NH for 60582@debbugs.gnu.org; Fri, 13 Jan 2023 16:38:05 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv4.myservices.hosting (Postfix) with ESMTP id 34790202DC for <60582@debbugs.gnu.org>; Fri, 13 Jan 2023 22:37:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id D458880096; Fri, 13 Jan 2023 22:37:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y3y1t4UPlcDI; Fri, 13 Jan 2023 22:37:59 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-118-236.dsl.telepac.pt [85.242.118.236]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 616A280093; Fri, 13 Jan 2023 22:37:59 +0100 (CET) From: Bruno Victal Date: Fri, 13 Jan 2023 21:34:57 +0000 Message-Id: <0e6cbfdffea195d739ef180031dc2d6726203e0f.1673645697.git.mirai@makinata.eu> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673645969; a=rsa-sha256; cv=none; b=rf88fwGgLSl01rCw5+g/yGIVuFU/SY48SdOCicixlu4WAxpq5EGKnZkKED0LGFSk3XX1L8 z4eUZuObiXEZzhCKazJTq1sx2KxIZVm4cNNKdxGpiVmlTDUNVk4pnWKEn1FBr3zVkwswxu IxfuqntMTPr4R5ldenrwtoNiGw0HYgRa2mx/VQ6ocMl/K9r/HImy66+EI335HtBK1nN19W AGT/xNtZfub4n+SIMvmTH0AJiRRA8n77YSLErwCrwOdZN7ApfMIr9IZBydqqqy5Zw0jIkc mk/4b3k+iAMYho04uz0EnIzERQeRO8cj41D7I+HK70oSBpf8pcFz+eyy+yyjlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673645969; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XN6mRNNKm8Kj2Cq0713yjqOMyOrc2TRKuBH8EXIZXSg=; b=cT951AEcIzm/GYRgBauWSCZYtot79CXVJIyjEaioAwsc7FvggN76sngTjpPXxIo1/dnVyh SI1WtKlxfqY5JOBbGk5Xa8eEIbkfpNE4ChT51EQDCQjmIgSlvK5R/pNDGcKdnyRzkV/aet VgDFtIixfG3i1mB7RYriB0L1BVKZnwAzh5fJZP+B6Z2ceyd+cQTm21ZMdEk14U925Fs3GH DgOr076dbnaoi3W0+k575zgcyajTWC/wBU8kedVTTBTMGpKRMO9R7Se0KT2NwhmrZw2cIn M5h2KXIpBOy6WPMiks2TYZ1NNR8dwCY42dA5EEhj7BJ5Jj3RNi1yHSwAonhyqQ== X-Migadu-Queue-Id: 43F0FAE1F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -2.20 X-Spam-Score: -2.20 X-TUID: zHBmcugvTExr * gnu/services/configuration.scm (generate-documentation): Format a list of packages by their names. --- Simplified condition. I can't reproduce the issue that was supposed to be resolved by that conditional. I'm guessing I used to have a different format string back then. gnu/services/configuration.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm index 6b0291dc00..4017cd0fa8 100644 --- a/gnu/services/configuration.scm +++ b/gnu/services/configuration.scm @@ -35,6 +35,7 @@ (define-module (gnu services configuration) #:autoload (texinfo serialize) (stexi->texi) #:use-module (ice-9 curried-definitions) #:use-module (ice-9 match) + #:use-module (ice-9 format) #:use-module (srfi srfi-1) #:use-module (srfi srfi-34) #:use-module (srfi srfi-35) @@ -370,6 +371,8 @@ (define (generate-documentation documentation documentation-name) (cond ((package? val) (symbol->string (package->symbol val))) + (((list-of package?) val) + (format #f "(~{~a~^ ~})" (map package->symbol val))) (else (str val)))) `(entry (% (heading base-commit: 0f85081ed1d99be57d3544e0307e7fa9ca043be9 -- 2.38.1