Package: guix-patches;
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: 2023年9月28日 09:34:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
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 66250 in the body.
You can then email your comments to 66250 AT debbugs.gnu.org in the normal way.
the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
guix-patches <at> gnu.org:bug#66250; Package guix-patches.
(2023年9月28日 09:34:02 GMT) Full text and rfc822 format available.Efraim Flashner <efraim <at> flashner.co.il>:guix-patches <at> gnu.org.
(2023年9月28日 09:34:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Efraim Flashner <efraim <at> flashner.co.il> To: guix-patches <at> gnu.org Cc: Efraim Flashner <efraim <at> flashner.co.il> Subject: [PATCH] doc: Document specification->package+output. Date: 2023年9月28日 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 <at> 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
Efraim Flashner <efraim <at> flashner.co.il>:Efraim Flashner <efraim <at> flashner.co.il>:Message #10 received at 66250-done <at> debbugs.gnu.org (full text, mbox):
From: Efraim Flashner <efraim <at> flashner.co.il> To: 66250-done <at> debbugs.gnu.org Subject: Re: [PATCH] doc: Document specification->package+output. Date: 2023年10月13日 11:53:19 +0300
[Message part 1 (text/plain, inline)]
Patch pushed. -- Efraim Flashner <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org.
(2023年11月10日 12:24:07 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.