Subject: bug#71201: closed (Re: [bug#71201] [PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 27 May 2024 01:48:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71201: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71201
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#71201] [PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.
From: 宋文武 <[email-masked]>
To: Maxim Cournoyer <[email-masked]>
Cc: [email-masked],宋文武 <[email-masked]>, Ludovic Courtès <[email-masked]>, Florian Pelz <[email-masked]>, Matthew Trzcinski <[email-masked]>
Date: Mon, 27 May 2024 09:47:07 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Maxim Cournoyer <[email-masked]> writes:

> [email-masked] writes:
>
>> From: 宋文武 <[email-masked]>
>>
>> '(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@gmail>

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

Subject: [PATCH] doc: Replace 'specification->package+output' with 'specifications->packages'.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Sun, 26 May 2024 08:23:08 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

'(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