[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] guix package: -s shows outputs
From: |
Mark H Weaver |
Subject: |
[PATCH] guix package: -s shows outputs |
Date: |
Sat, 22 Aug 2015 00:39:04 -0400 |
lfam on #guix pointed out that "guix package -s" does not show the
outputs of the package. This patch fixes that.
Mark
>From 5853d9df55f4adae4c9d872e3491336efd3b292c Mon Sep 17 00:00:00 2001
From: Mark H Weaver <address@hidden>
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
- [PATCH] guix package: -s shows outputs,
Mark H Weaver <=