summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-06-19 14:00:10 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2022-06-19 14:30:27 +0200
commit0f573a5368e82f336d95ca335e29a047457bf081 (patch)
treef070c2d4517ef5186694f4651ecac1b19943fb07
parenta4a0a47a91f6b04d5de02a85295b0240a0f33d2e (diff)
Require hslua-2.2.1, unless lua53 flag is set.
This fixes a problem where the encoding used for Lua filenames would sometimes mismatch the encoding used by the OS. The file wasn't found when that happened, for example with an umlaut-containing filename on Windows. The change ensures that all characters of available in the default locale can be used in the filename.
-rw-r--r--pandoc.cabal2
-rw-r--r--stack.yaml12
2 files changed, 7 insertions, 7 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 32208527a..aae415275 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -542,7 +542,7 @@ library
build-depends: hslua >= 2.1 && < 2.2,
hslua-aeson >= 2.1 && < 2.3
else
- build-depends: hslua >= 2.2 && < 2.3
+ build-depends: hslua >= 2.2.1 && < 2.3
if flag(embed_data_files)
cpp-options: -DEMBED_DATA_FILES
other-modules: Text.Pandoc.Data
diff --git a/stack.yaml b/stack.yaml
index 8b0f98526..47b366879 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -11,19 +11,19 @@ extra-deps:
- skylighting-0.12.3.1
- emojis-0.1.2
- lpeg-1.0.3
-- hslua-2.2.0
+- hslua-2.2.1
- hslua-aeson-2.2.0
- hslua-classes-2.2.0
-- hslua-core-2.2.0
-- hslua-marshalling-2.2.0
+- hslua-core-2.2.1
+- hslua-marshalling-2.2.1
- hslua-module-doclayout-1.0.4
- hslua-module-path-1.0.2
- hslua-module-system-1.0.2
- hslua-module-text-1.0.2
- hslua-module-version-1.0.2
-- hslua-objectorientation-2.2.0
-- hslua-packaging-2.2.0
-- lua-2.2.0
+- hslua-objectorientation-2.2.1
+- hslua-packaging-2.2.1
+- lua-2.2.1
- lua-arbitrary-1.0.1
- tasty-hslua-1.0.2
- tasty-lua-1.0.2