aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cuirass/templates.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 7cca2b2..c584dae 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -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))