emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66250: closed ([PATCH] doc: Document specification->package+output.)


From: GNU bug Tracking System
Subject: bug#66250: closed ([PATCH] doc: Document specification->package+output.)
Date: Fri, 13 Oct 2023 08:54:02 +0000

Your message dated Fri, 13 Oct 2023 11:53:19 +0300
with message-id <ZSkFf5gkdSN9nxzU@3900XT>
and subject line Re: [PATCH] doc: Document specification->package+output.
has caused the debbugs.gnu.org bug report #66250,
regarding [PATCH] doc: Document specification->package+output.
to be marked as done.

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


-- 
66250: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66250
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] doc: Document specification->package+output. Date: Thu, 28 Sep 2023 12:32:58 +0300
Reported by nutcase on IRC.

* doc/guix.texi (Using the Configuration System): Add a section about
using specification->package+output.
---
 doc/guix.texi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/guix.texi b/doc/guix.texi
index f49ed894a7..d9865f4ac0 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16936,6 +16936,23 @@ Using the Configuration System
                     %base-packages)))
 @end lisp
 
+@findex specification->package+output
+When a package has more than one output it can be a challenge to refer to
+specific output instead of just to the standard @code{out} output.  For these
+situations one can use the @code{specification->package+output} procedure from
+the @code{(gnu packages)} module.  For example:
+
+@lisp
+(use-modules (gnu packages))
+
+(operating-system
+  ;; ...
+  (packages (append (map specification->package+output
+                         '("nss-certs" "git" "git:send-email"))
+                    %base-packages)))
+
+@end lisp
+
 @unnumberedsubsec System Services
 
 @cindex services

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] doc: Document specification->package+output. Date: Fri, 13 Oct 2023 11:53:19 +0300
Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]