aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-09-11 18:21:24 +0100
committerArun Isaac2024-09-11 18:26:30 +0100
commit359786224151203405a34cbb83ab4a3b2c765d91 (patch)
tree48b485fb5f470a9672910a3b50d72fb0f5a4f516
parent81199d4eba1de4b9b39fcf929d06f310b6561920 (diff)
downloadravanan-359786224151203405a34cbb83ab4a3b2c765d91.tar.gz
ravanan-359786224151203405a34cbb83ab4a3b2c765d91.tar.lz
ravanan-359786224151203405a34cbb83ab4a3b2c765d91.zip
command-line-tool: Write, not read from, literal staged file.
* ravanan/command-line-tool.scm (build-command-line-tool-script): Replace call-with-output-file with call-with-input-file.
-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 d55eb7d..0edbcb0 100644
--- a/ravanan/command-line-tool.scm
+++ b/ravanan/command-line-tool.scm
@@ -899,7 +899,7 @@ named @var{name} with @var{inputs} using tools from Guix manifest
;; others.
(map (match-lambda
((entry-name entry)
- (call-with-input-file entry-name
+ (call-with-output-file entry-name
(cut put-string <> entry))))
(list #$@(from-maybe
(maybe-bind