GNU bug report logs - #26733
document (list package output) in operating-system-packages

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Mon, 1 May 2017 13:53:02 UTC

Severity: normal

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 26733 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 26733 <at> debbugs.gnu.org
Subject: Re: bug#26733: document (list package output) in
 operating-system-packages
Date: Thu, 04 May 2017 15:07:18 -0400
[Message part 1 (text/plain, inline)]
Julien Lepiller <julien <at> 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 <at> 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).
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 8 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.