From a12d92f54efcd941c6e27c389235c7a98b174437 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 12 May 2014 21:40:16 +0200 Subject: doc: Add example for --search. * doc/guix.texi (Invoking guix package): Add LGPLv3 example. --- doc/guix.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 82e713c0c9..98bf06636b 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -828,6 +828,17 @@ name: libgc version: 7.2alpha6 @end example +Similarly, to show the name of all the packages available under the +terms of the GNU@tie{}LGPL version 3: + +@example +$ guix package -s "" | recsel -p name -e 'license ~ "LGPL 3"' +name: elfutils + +name: gmp +@dots{} +@end example + @item --list-installed[=@var{regexp}] @itemx -I [@var{regexp}] List the currently installed packages in the specified profile, with the -- cgit v1.2.3