summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-09 15:11:50 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-09 15:11:50 -0400
commit8ebe391d1eff8d174a1fbbcc5b62e486c1fefa34 (patch)
tree67133883840adf727bcc6d66c09cae687b01a32c
parentc7301c360f6ef22ba69a0149c8c587c6c8bdd955 (diff)
Fix view-package.
* guix-web/view.scm (view-package): Filter out non-package inputs.
-rw-r--r--guix-web/view.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-web/view.scm b/guix-web/view.scm
index adf064b..1d7f116 100644
--- a/guix-web/view.scm
+++ b/guix-web/view.scm
@@ -142,7 +142,8 @@
'()
`((dt ,description)
(dd (ul ,@(map describe-input
- (filter package? (second inputs)))))))))
+ (filter package?
+ (map second inputs)))))))))
(define (describe-package package)
`(dl