templates: Fix type errors in build details page.

This is a followup to 858b6b8c8f.

* src/cuirass/templates.scm (build-details)[blocking-outputs]: Fix type
errors when dealing with the result of 'derivation-build-plan'.
This commit is contained in:
Ludovic Courtès 2019-09-23 22:44:53 +02:00
parent 6cf84a43bb
commit d27ff21e43
1 changed files with 6 additions and 2 deletions

View File

@ -155,8 +155,12 @@
(drv (false-if-exception
(read-derivation-from-file
(assq-ref build #:derivation)))))
(append-map derivation-input-output-paths
(filter (compose derivation-log-file derivation-input-path)
(append-map (lambda (drv)
(match (derivation->output-paths drv)
(((_ . items) ...)
items)))
(filter (compose derivation-log-file
derivation-file-name)
(with-store store
(derivation-build-plan
store (list (derivation-input drv))