diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-05-12 21:40:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-05-12 23:55:28 +0200 |
commit | a12d92f54efcd941c6e27c389235c7a98b174437 (patch) | |
tree | f1428bb7e11608abdaa979842e7a243d48229775 | |
parent | f5ea273a001736af3e61207b094556893aa05309 (diff) | |
download | gnu-guix-a12d92f54efcd941c6e27c389235c7a98b174437.tar gnu-guix-a12d92f54efcd941c6e27c389235c7a98b174437.tar.gz |
doc: Add example for --search.
* doc/guix.texi (Invoking guix package): Add LGPLv3 example.
-rw-r--r-- | doc/guix.texi | 11 |
1 files changed, 11 insertions, 0 deletions
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 |