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.
This commit is contained in:
Albert Krewinkel 2022-06-19 14:00:10 +02:00
parent a4a0a47a91
commit 0f573a5368
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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