summary refs log tree commit diff
path: root/doc/capture-output-file-with-parameter-reference.scm
diff options
context:
space:
mode:
Diffstat (limited to 'doc/capture-output-file-with-parameter-reference.scm')
-rw-r--r--doc/capture-output-file-with-parameter-reference.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/capture-output-file-with-parameter-reference.scm b/doc/capture-output-file-with-parameter-reference.scm
index 3104fae..bb5476b 100644
--- a/doc/capture-output-file-with-parameter-reference.scm
+++ b/doc/capture-output-file-with-parameter-reference.scm
@@ -1,9 +1,9 @@
 (define extract-specific-file
-  (command #:run "tar" "--extract" "--file" (input 'archive #:type 'File)
-                                            (input 'extractfile #:type 'string)
-           #:outputs (output 'extracted-file
-                             #:type 'File
-                             #:binding '((glob . "$(inputs.extractfile)")))))
+  (command #:inputs (archive #:type 'File) (extractfile #:type 'string)
+           #:run "tar" "--extract" "--file" archive extractfile
+           #:outputs (extracted-file
+                      #:type 'File
+                      #:binding '((glob . "$(inputs.extractfile)")))))
 
 (workflow ((archive #:type File) (extractfile #:type string))
   (extract-specific-file #:archive archive #:extractfile extractfile))