summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/staging-input-files.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/staging-input-files.scm b/doc/staging-input-files.scm
new file mode 100644
index 0000000..5f7fdfb
--- /dev/null
+++ b/doc/staging-input-files.scm
@@ -0,0 +1,3 @@
+(command #:inputs (file #:type File
+ #:stage? #t)
+ #:run "cat" "./$(inputs.file.basename)")