unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26733: document (list package output) in operating-system-packages
@ 2017-05-01 13:51 Julien Lepiller
  2017-05-04 19:07 ` Kei Kebreau
  2017-05-06  8:03 ` bug#26733: (no subject) Julien Lepiller
  0 siblings, 2 replies; 4+ messages in thread
From: Julien Lepiller @ 2017-05-01 13:51 UTC (permalink / raw)
  To: 26733

[-- 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26733: document (list package output) in operating-system-packages
  2017-05-01 13:51 bug#26733: document (list package output) in operating-system-packages Julien Lepiller
@ 2017-05-04 19:07 ` Kei Kebreau
  2017-05-05  7:55   ` Ludovic Courtès
  2017-05-06  8:03 ` bug#26733: (no subject) Julien Lepiller
  1 sibling, 1 reply; 4+ messages in thread
From: Kei Kebreau @ 2017-05-04 19:07 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 26733

[-- Attachment #1: Type: text/plain, Size: 1743 bytes --]

Julien Lepiller <julien@lepiller.eu> writes:

> Hi,
>
> here is a small patch to document how to make globally visible a
> specific output of a package.
>
>>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

At first glance this change looks okay, but I'll wait for a second
opinion to be safe (I don't usually review documentation changes).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26733: document (list package output) in operating-system-packages
  2017-05-04 19:07 ` Kei Kebreau
@ 2017-05-05  7:55   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-05  7:55 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 26733

Kei Kebreau <kei@openmailbox.org> skribis:

> Julien Lepiller <julien@lepiller.eu> writes:
>
>> Hi,
>>
>> here is a small patch to document how to make globally visible a
>> specific output of a package.
>>
>>>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
>
> At first glance this change looks okay, but I'll wait for a second
> opinion to be safe (I don't usually review documentation changes).

LGTM too.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26733: (no subject)
  2017-05-01 13:51 bug#26733: document (list package output) in operating-system-packages Julien Lepiller
  2017-05-04 19:07 ` Kei Kebreau
@ 2017-05-06  8:03 ` Julien Lepiller
  1 sibling, 0 replies; 4+ messages in thread
From: Julien Lepiller @ 2017-05-06  8:03 UTC (permalink / raw)
  To: 26733-done



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-06  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-01 13:51 bug#26733: document (list package output) in operating-system-packages Julien Lepiller
2017-05-04 19:07 ` Kei Kebreau
2017-05-05  7:55   ` Ludovic Courtès
2017-05-06  8:03 ` bug#26733: (no subject) Julien Lepiller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).