aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/view/html.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/view/html.scm')
-rw-r--r--guix-data-service/web/view/html.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm
index 51c021c..8375d0b 100644
--- a/guix-data-service/web/view/html.scm
+++ b/guix-data-service/web/view/html.scm
@@ -551,10 +551,10 @@
(th "File name")))
(tdata
,@(map (match-lambda
- ((file-name output-name path)
+ ((derivation-file-name outputs)
`(tr
- (td (a (@ (href ,file-name))
- ,(display-store-item-short path))))))
+ (td (a (@ (href ,derivation-file-name))
+ ,(display-store-item-short derivation-file-name))))))
derivation-inputs)))))
(div
(@ (class "col-md-4"))
@@ -697,14 +697,22 @@
(@ (class "col-md-10")
(style "font-family: monospace;"))
,@(map (match-lambda*
- (((file-name output-name path) count-down)
+ (((file-name outputs) count-down)
`(div
(@ (style "margin-left: 3em;"))
"(\""
(a (@ (href ,file-name))
,(display-store-item file-name))
"\",\""
- "[\"" ,output-name "\"]"
+ "[" ,(string-join
+ (map (lambda (output)
+ (string-append
+ "\""
+ (assoc-ref output "output_name")
+ "\""))
+ (vector->list outputs))
+ ",")
+ "]"
")"
,@(if (eq? count-down 0)
'()