* [PATCH] guix package: -s shows outputs
@ 2015-08-22 4:39 Mark H Weaver
2015-08-24 22:15 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2015-08-22 4:39 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
lfam on #guix pointed out that "guix package -s" does not show the
outputs of the package. This patch fixes that.
Mark
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: [PATCH] guix package: -s shows outputs --]
[-- Type: text/x-patch, Size: 831 bytes --]
From 5853d9df55f4adae4c9d872e3491336efd3b292c Mon Sep 17 00:00:00 2001
From: Mark H Weaver <mhw@netris.org>
Date: Sat, 22 Aug 2015 00:31:11 -0400
Subject: [PATCH] guix package: -s shows outputs.
* guix/ui.scm (package->recutils): Print "outputs:".
---
guix/ui.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/guix/ui.scm b/guix/ui.scm
index 28d4b97..a6d4fd1 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -803,6 +803,7 @@ 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 "outputs: ~a~%" (string-join (package-outputs p)))
(format port "systems: ~a~%"
(string-join (package-transitive-supported-systems p)))
(format port "dependencies: ~a~%"
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] guix package: -s shows outputs
2015-08-22 4:39 [PATCH] guix package: -s shows outputs Mark H Weaver
@ 2015-08-24 22:15 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-08-24 22:15 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
Mark H Weaver <mhw@netris.org> skribis:
> From 5853d9df55f4adae4c9d872e3491336efd3b292c Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> Date: Sat, 22 Aug 2015 00:31:11 -0400
> Subject: [PATCH] guix package: -s shows outputs.
>
> * guix/ui.scm (package->recutils): Print "outputs:".
Sure, it’s a good idea.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-24 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-22 4:39 [PATCH] guix package: -s shows outputs Mark H Weaver
2015-08-24 22:15 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).