aboutsummaryrefslogtreecommitdiff
path: root/guix-package.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-09 19:26:37 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-09 19:26:37 +0100
commit44b6be7744da9cf5513e4e6361681ea277f69097 (patch)
tree5dc3c024a5873f50f9f7ba4809627e1db9424d0d /guix-package.in
parent58db733e6d33dec92a565b4213668ff4527db553 (diff)
downloadguix-44b6be7744da9cf5513e4e6361681ea277f69097.tar
guix-44b6be7744da9cf5513e4e6361681ea277f69097.tar.gz
guix-package: Show package outputs in `--list-available'.
* guix-package.in (guix-package)[process-query]: For `list-available', show the outputs of each package. * doc/guix.texi (Invoking guix-package): Update accordingly.
Diffstat (limited to 'guix-package.in')
-rw-r--r--guix-package.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-package.in b/guix-package.in
index cf40cdc42d..286ae8db09 100644
--- a/guix-package.in
+++ b/guix-package.in
@@ -440,9 +440,10 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
(cons p r))))
'())))
(for-each (lambda (p)
- (format #t "~a\t~a\t~a~%"
+ (format #t "~a\t~a\t~a\t~a~%"
(package-name p)
(package-version p)
+ (string-join (package-outputs p) ",")
(location->string (package-location p))))
(sort available
(lambda (p1 p2)