From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kF0eF/M9t2Nb2QAAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 22:15:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0PQKF/M9t2M6rwAAauVa8A (envelope-from ) for ; Thu, 05 Jan 2023 22:15:31 +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 F23B53F70D for ; Thu, 5 Jan 2023 22:15:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDXa9-0002Un-7L; Thu, 05 Jan 2023 16:15:25 -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 1pDXZn-0002QO-HG for guix-patches@gnu.org; Thu, 05 Jan 2023 16:15:05 -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 1pDXZm-0002Iq-OT for guix-patches@gnu.org; Thu, 05 Jan 2023 16:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDXZm-0005Gc-HN for guix-patches@gnu.org; Thu, 05 Jan 2023 16:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60582] [PATCH 1/2] services: configuration: Format a list of packages by their names. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Jan 2023 21:15: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.167295328120199 (code B ref 60582); Thu, 05 Jan 2023 21:15:02 +0000 Received: (at 60582) by debbugs.gnu.org; 5 Jan 2023 21:14:41 +0000 Received: from localhost ([127.0.0.1]:53108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDXZR-0005Fj-27 for submit@debbugs.gnu.org; Thu, 05 Jan 2023 16:14:41 -0500 Received: from smtpmciv6.myservices.hosting ([185.26.106.201]:33556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDXZP-0005Fa-Eo for 60582@debbugs.gnu.org; Thu, 05 Jan 2023 16:14:39 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv6.myservices.hosting (Postfix) with ESMTP id 745D720CE2 for <60582@debbugs.gnu.org>; Thu, 5 Jan 2023 22:14:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 92DE480098; Thu, 5 Jan 2023 22:06:14 +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 JdaVGLSQ5m0N; Thu, 5 Jan 2023 22:06:14 +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 2575480096; Thu, 5 Jan 2023 22:06:14 +0100 (CET) From: Bruno Victal Date: Thu, 5 Jan 2023 21:06:10 +0000 Message-Id: <11414ae2650cde429b82aa168041e3989cf7d84c.1672951913.git.mirai@makinata.eu> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: 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-Seal: i=1; s=key1; d=yhetil.org; t=1672953331; a=rsa-sha256; cv=none; b=nnWnA5RmRJ2D3TvjkWo7zD5ZhOFpDXam3LQxQexJRdrsPZcQLWuCM18nw7P/OuKSt/0eqO tk379dwhwNvROCJhI2/kUGHovmrY/O0Uu/KNlDPAailul/Hc1ktsVzqiIamQf3vKtSTYFc K1W2U3DHvBknpT+dfsFwkYCDNwG8EA2LGAN4E5GOeyJ9JtN6xseGOzDgr201CJo1fGvApO 55DRm8JG3PXDc3XQ6ZN1vdCWDF4Axb+epzi6qt6E8vCfNsE4dze7XJ9UwkETZn+uBLlwqu rl2c7kvZxp6lK/hkQCTsiZb1sSKl84vU0is8cXdt4KJ3qz8E3czjHEHZYJ95Ew== 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672953331; 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=+Ndn69VDwJAMAwtCnsJMgr15SK7U+CJSNkPcQWH/hco=; b=tHRSE6K14ehYzzOPp4CcCpXd3TdT21+Z9UmByKBFmfXvzfub59hqUojqBGoyFIbQXM3Wxc qiq4O98KRkykoe2eMkDUttLWebSHY1XjASCw7g/35B/epC5f/Men8tXCehPhj9DzRzXB75 Yrvecf/NA+rgh4Y+E4C6h4HGcEda4SLeGZklZY1DJagNSV7JsB1uJNZOFxJPT02sDsJ7Ck 567DhQD5kAy4AyB9tylFiS9rE3QUP8jLtrh5usm8S5Adx8jT5afMhFZgFf8DUIGASHOJgx 6V/HywJbRWKLfBq7zBmyEXV5cX4ng80rnz8P1DmwWYpQGorI4V7UmLvr7mbDvg== X-Spam-Score: -0.56 X-Migadu-Queue-Id: F23B53F70D 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.56 X-TUID: vQTxNle0C3xo * gnu/services/configuration.scm (generate-documentation): Format a list of packages by their names. --- gnu/services/configuration.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm index 6b0291dc00..16e2380709 100644 --- a/gnu/services/configuration.scm +++ b/gnu/services/configuration.scm @@ -370,6 +370,9 @@ (define (show-default val) (cond ((package? val) (symbol->string (package->symbol val))) + ((and ((list-of package?) val) (not (null? val))) + (format #f "(~{~a~^ ~})" + (map package->symbol val))) (else (str val)))) `(entry (% (heading -- 2.38.1