doc: Add example for --search.

* doc/guix.texi (Invoking guix package): Add LGPLv3 example.
master
Ludovic Courtès 2014-05-12 21:40:16 +02:00
parent f5ea273a00
commit a12d92f54e
1 changed files with 11 additions and 0 deletions

View File

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