aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-09-11 17:58:38 +0100
committerArun Isaac2024-09-11 17:58:38 +0100
commit010336a80acfe2766acea1076ea29ebf8e42966b (patch)
treed3bbcc6976d1a58d2b9c4f471d4cd67151891875
parent3bb0458f2f824af1abafe23b5d87c27fe0e49530 (diff)
downloadravanan-010336a80acfe2766acea1076ea29ebf8e42966b.tar.gz
ravanan-010336a80acfe2766acea1076ea29ebf8e42966b.tar.lz
ravanan-010336a80acfe2766acea1076ea29ebf8e42966b.zip
command-line-tool: Return maybe monad from maybe-bind.
* ravanan/command-line-tool.scm (build-command-line-tool-script): Wrap result of files-to-stage in a maybe monad.
-rw-r--r--ravanan/command-line-tool.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm
index 993715b..0021bcf 100644
--- a/ravanan/command-line-tool.scm
+++ b/ravanan/command-line-tool.scm
@@ -912,7 +912,7 @@ named @var{name} with @var{inputs} using tools from Guix manifest
(maybe-bind
(find-requirement requirements
"InitialWorkDirRequirement")
- files-to-stage)
+ (compose just files-to-stage))
(list)))
;; Actually run the command.
#$run-command-gexp