From: Julien Lepiller <julien@lepiller.eu>
To: 26733@debbugs.gnu.org
Subject: bug#26733: document (list package output) in operating-system-packages
Date: Mon, 1 May 2017 15:51:55 +0200 [thread overview]
Message-ID: <20170501155155.673dd708@lepiller.eu> (raw)
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
Hi,
here is a small patch to document how to make globally visible a
specific output of a package.
[-- Attachment #2: 0001-doc-Document-list-package-output-syntax-in-operantin.patch --]
[-- Type: text/x-patch, Size: 1349 bytes --]
From 6a71d7613bbabdde9d43de5ff09601195f9f49ee Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Mon, 1 May 2017 15:44:31 +0200
Subject: [PATCH] doc: Document (list package output) syntax in
operanting-system-packages.
* doc/guix.texi (Globally-Visible Packages): Document (PACKAGE OUTPUT) syntax.
---
doc/guix.texi | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 957ce2bab..3ae9a1cd5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -7678,7 +7678,19 @@ provides all the tools one would expect for basic user and administrator
tasks---including the GNU Core Utilities, the GNU Networking Utilities,
the GNU Zile lightweight text editor, @command{find}, @command{grep},
etc. The example above adds tcpdump to those, taken from the @code{(gnu
-packages admin)} module (@pxref{Package Modules}).
+packages admin)} module (@pxref{Package Modules}). The
+@code{(list package output)} syntax can be used to add a specific output
+of a package:
+
+@lisp
+(use-modules (gnu packages))
+(use-modules (gnu packages dns))
+
+(operating-system
+ ;; ...
+ (packages (cons (list bind "utils")
+ %base-packages)))
+@end lisp
@findex specification->package
Referring to packages by variable name, like @var{tcpdump} above, has
--
2.12.2
next reply other threads:[~2017-05-01 13:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-01 13:51 Julien Lepiller [this message]
2017-05-04 19:07 ` bug#26733: document (list package output) in operating-system-packages Kei Kebreau
2017-05-05 7:55 ` Ludovic Courtès
2017-05-06 8:03 ` bug#26733: (no subject) Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170501155155.673dd708@lepiller.eu \
--to=julien@lepiller.eu \
--cc=26733@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.