aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ravanan/command-line-tool.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm
index 47b3903..30ff451 100644
--- a/ravanan/command-line-tool.scm
+++ b/ravanan/command-line-tool.scm
@@ -703,7 +703,9 @@ named @var{name} with @var{inputs} using tools from Guix manifest
(from-maybe
(maybe-assoc-ref (just output)
"outputBinding" "glob")
- (raise-error #f "glob output binding not specified")))
+ (and (memq (formal-parameter-type (assoc-ref* output "type"))
+ (list 'File 'Directory))
+ (raise-error #f "glob output binding not specified"))))
(define run-command-gexp
#~(run-command (list #$@(append-map (lambda (arg)