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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71201 in the body.
You can then email your comments to 71201 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to pelzflorian <at> pelzflorian.de, ludo <at> gnu.org, matt <at> excalamus.com, maxim.cournoyer <at> gmail.com, guix-patches <at> gnu.org:
bug#71201; Package guix-patches. (Sun, 26 May 2024 00:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to iyzsong <at> envs.net:
New bug report received and forwarded. Copy sent to pelzflorian <at> pelzflorian.de, ludo <at> gnu.org, matt <at> excalamus.com, maxim.cournoyer <at> gmail.com, guix-patches <at> gnu.org. (Sun, 26 May 2024 00:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Information forwarded to guix-patches <at> gnu.org:
bug#71201; Package guix-patches. (Sun, 26 May 2024 11:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 71201 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: iyzsong <at> envs.net
Cc: 71201 <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: Sun, 26 May 2024 07:57:19 -0400
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>

-- 
Thanks,
Maxim




Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Mon, 27 May 2024 01:48:01 GMT) Full text and rfc822 format available.

Notification sent to iyzsong <at> envs.net:
bug acknowledged by developer. (Mon, 27 May 2024 01:48:02 GMT) Full text and rfc822 format available.

Message #13 received at 71201-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jun 2024 11:24:05 GMT) Full text and rfc822 format available.

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.