guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/2] guix package: add a "show" option.


From: Ludovic Courtès
Subject: Re: [PATCH v2 2/2] guix package: add a "show" option.
Date: Fri, 18 Jul 2014 01:30:53 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Cyril Roelandt <address@hidden> skribis:

> * doc/guix.texi: Update the documentation.
> * guix/scripts/package.scm: Add a "show" option.
> * tests/guix-package.sh: Add a test for the "show" option.

[...]

> address@hidden address@hidden
> +Show details about a given package in @code{recutils} format (@pxref{Top, GNU

Rather: “Show details about @var{package}, taken from the list of
available packages, in ...” (to make it clear that it’s not from the
list of installed packages.)

> --- a/tests/guix-package.sh
> +++ b/tests/guix-package.sh
> @@ -176,6 +176,9 @@ then false; else true; fi
>  # Check whether `--list-available' returns something sensible.
>  guix package -p "$profile" -A 'gui.*e' | grep guile
>  
> +# Check whether `--show' returns something sensible.
> +guix package -p "$profile" --show=guile | grep "^Package: guile"

‘-p "$profile"’ can be omitted here.

OK to push with these changes, thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]