aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2025-06-23 12:38:49 +0200
committerJohn MacFarlane <[email protected]>2025-06-30 09:56:08 -0600
commit6b816497710bebfc237946a348e920db75a73406 (patch)
treec50c14037de3b898c317bd7c383be08a74da04c1 /stack.yaml
parentbffdd13038799866a0823365f0a117d5e3d89fbe (diff)
Lua: add more UTF-8-aware file operations to `pandoc.system`.
Functions that expect UTF-8-encoded filenames should make it easier to write platform-independent scripts, as the encoding of the actual filename depends on the system. Additionally, this also adds a generalized method to run commands, and functions to retrieve XDG directory names. The new functions are `command`, `copy`, `read_file`, `remove`, `rename`, `times`, `write_file`, `xdg`.
Diffstat (limited to 'stack.yaml')
-rw-r--r--stack.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/stack.yaml b/stack.yaml
index 547f20758..2f8df84a0 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -11,6 +11,7 @@ packages:
extra-deps:
- hslua-2.4.0
- hslua-module-doclayout-1.2.0.1
+- hslua-module-system-1.2.0
- hslua-objectorientation-2.4.0
- hslua-packaging-2.3.2
- pandoc-lua-marshal-0.3.1