aboutsummaryrefslogtreecommitdiff
path: root/guix/ui.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-19 19:12:22 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-19 23:34:53 +0200
commit5763ad9266ec7682d53b87a874fc6ae04f92b6c4 (patch)
treef86c15d803840cae60284b682b52dabf8a5c8550 /guix/ui.scm
parentbbceb0ef8a1e05faaa15c5b4135275fb4572b8d9 (diff)
downloadgnu-guix-5763ad9266ec7682d53b87a874fc6ae04f92b6c4.tar
gnu-guix-5763ad9266ec7682d53b87a874fc6ae04f92b6c4.tar.gz
guix package: -A and -s take supported systems into account.
* guix/scripts/package.scm (guix-package)[process-query] <list-available>: Restrict results to packages matching 'supported-package?". * guix/ui.scm (package->recutils): Print "systems:". * tests/guix-package.sh: Add tests. * doc/guix.texi (Invoking guix package): Adjust description of '--list-available' accordingly.
Diffstat (limited to 'guix/ui.scm')
-rw-r--r--guix/ui.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index 5ca5afe457..f80ce37146 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -653,6 +653,8 @@ WIDTH columns."
;; Note: Don't i18n field names so that people can post-process it.
(format port "name: ~a~%" (package-name p))
(format port "version: ~a~%" (package-version p))
+ (format port "systems: ~a~%"
+ (string-join (package-transitive-supported-systems p)))
(format port "dependencies: ~a~%"
(match (package-direct-inputs p)
(((labels inputs . _) ...)