aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-12 21:40:16 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-12 23:55:28 +0200
commita12d92f54efcd941c6e27c389235c7a98b174437 (patch)
treef1428bb7e11608abdaa979842e7a243d48229775 /doc/guix.texi
parentf5ea273a001736af3e61207b094556893aa05309 (diff)
downloadguix-a12d92f54efcd941c6e27c389235c7a98b174437.tar
guix-a12d92f54efcd941c6e27c389235c7a98b174437.tar.gz
doc: Add example for --search.
* doc/guix.texi (Invoking guix package): Add LGPLv3 example.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi11
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