aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ravanan/command-line-tool.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm
index cc6d0ab..db2e45b 100644
--- a/ravanan/command-line-tool.scm
+++ b/ravanan/command-line-tool.scm
@@ -794,7 +794,8 @@ named @var{name} with @var{inputs} using tools from Guix manifest in
("nameroot" . ,(file-name-stem path))
("nameext" . ,(file-name-extension path))
("size" . ,(stat:size (stat path)))
- ("checksum" . ,(checksum path)))))
+ ("checksum" . ,(or (assoc-ref value "checksum")
+ (checksum path))))))
(define (capture-secondary-file path secondary-file
workflow-output-directory)