GNU bug report logs - #71201
[PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Sun, 26 May 2024 00:24:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71201: closed ([PATCH] doc: Replace 'specification->package+output'
 with 'specifications->packages'.)
Date: Mon, 27 May 2024 01:48:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 May 2024 09:47:07 +0800
with message-id <87sey4vxes.fsf <at> envs.net>
and subject line Re: [bug#71201] [PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.
has caused the debbugs.gnu.org bug report #71201,
regarding [PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
71201: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71201
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH] doc: Replace 'specification->package+output' with
 'specifications->packages'.
Date: Sun, 26 May 2024 08:23:08 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

'(map specification->package+output specs)' doesn't work due to
'specification->package+output' will return multiple values.

* doc/guix.texi (Using the Configuration System): Replace
'specification->package+output' with 'specifications->packages'.

Change-Id: I443771327a2ef5ae5e7dddd9785f1eef4200e898
---
 doc/guix.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 8073e3f6d4..8cb1a541eb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17246,10 +17246,10 @@ Using the Configuration System
                     %base-packages)))
 @end lisp
 
-@findex specification->package+output
+@findex specifications->packages
 When a package has more than one output it can be a challenge to refer to a
 specific output instead of just to the standard @code{out} output.  For these
-situations one can use the @code{specification->package+output} procedure from
+situations one can use the @code{specifications->packages} procedure from
 the @code{(gnu packages)} module.  For example:
 
 @lisp
@@ -17257,8 +17257,8 @@ Using the Configuration System
 
 (operating-system
   ;; ...
-  (packages (append (map specification->package+output
-                         '("git" "git:send-email"))
+  (packages (append (specifications->packages
+                      '("git" "git:send-email"))
                     %base-packages)))
 
 @end lisp

base-commit: 9756d9d6345fb142944261174453ab0a597cc2e7
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 71201-done <at> debbugs.gnu.org,
 宋文武 <iyzsong <at> member.fsf.org>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Florian Pelz <pelzflorian <at> pelzflorian.de>,
 Matthew Trzcinski <matt <at> excalamus.com>
Subject: Re: [bug#71201] [PATCH] doc: Replace
 'specification->package+output' with 'specifications->packages'.
Date: Mon, 27 May 2024 09:47:07 +0800
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> iyzsong <at> envs.net writes:
>
>> From: 宋文武 <iyzsong <at> member.fsf.org>
>>
>> '(map specification->package+output specs)' doesn't work due to
>> 'specification->package+output' will return multiple values.
>>
>> * doc/guix.texi (Using the Configuration System): Replace
>> 'specification->package+output' with 'specifications->packages'.
>>
>> Change-Id: I443771327a2ef5ae5e7dddd9785f1eef4200e898
>
> Reviewed-by: Maxim Cournoyer <maxim.cournoyer <at> gmail>

Pushed to master as commit f119408f2f, thank you for review.


This bug report was last modified 1 year and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.