From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5BlD-0004fk-Qf for guix-patches@gnu.org; Mon, 01 May 2017 09:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5Bl8-00046V-Tg for guix-patches@gnu.org; Mon, 01 May 2017 09:53:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50449) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5Bl8-00046O-OB for guix-patches@gnu.org; Mon, 01 May 2017 09:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d5Bl8-0004un-El for guix-patches@gnu.org; Mon, 01 May 2017 09:53:02 -0400 Subject: bug#26733: document (list package output) in operating-system-packages Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5BkN-000467-A0 for guix-patches@gnu.org; Mon, 01 May 2017 09:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5BkI-00040q-EX for guix-patches@gnu.org; Mon, 01 May 2017 09:52:15 -0400 Received: from dau94-h03-89-91-205-84.dsl.sta.abo.bbox.fr ([89.91.205.84]:48509 helo=skaro.lepiller.eu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d5BkI-00040f-1Q for guix-patches@gnu.org; Mon, 01 May 2017 09:52:10 -0400 Received: from localhost (localhost [127.0.0.1]) by skaro.lepiller.eu (Postfix) with ESMTP id 42A7A81588 for ; Mon, 1 May 2017 15:52:06 +0200 (CEST) Received: from skaro.lepiller.eu ([127.0.0.1]) by localhost (lepiller.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U0i1Lg5Qf1Nr for ; Mon, 1 May 2017 15:52:01 +0200 (CEST) Received: from localhost (89-93-157-164.hfc.dyn.abo.bbox.fr [89.93.157.164]) by skaro.lepiller.eu (Postfix) with ESMTPSA id 3F12181215 for ; Mon, 1 May 2017 15:52:01 +0200 (CEST) Date: Mon, 1 May 2017 15:51:55 +0200 From: Julien Lepiller Message-ID: <20170501155155.673dd708@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/_9O6m.NvNMBeeMyzvosoW1w" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26733@debbugs.gnu.org --MP_/_9O6m.NvNMBeeMyzvosoW1w Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, here is a small patch to document how to make globally visible a specific output of a package. --MP_/_9O6m.NvNMBeeMyzvosoW1w Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-doc-Document-list-package-output-syntax-in-operantin.patch >From 6a71d7613bbabdde9d43de5ff09601195f9f49ee Mon Sep 17 00:00:00 2001 From: Julien Lepiller 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 --MP_/_9O6m.NvNMBeeMyzvosoW1w--