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:
parent
a4a0a47a91
commit
0f573a5368
2 changed files with 7 additions and 7 deletions
|
@ -542,7 +542,7 @@ library
|
||||||
build-depends: hslua >= 2.1 && < 2.2,
|
build-depends: hslua >= 2.1 && < 2.2,
|
||||||
hslua-aeson >= 2.1 && < 2.3
|
hslua-aeson >= 2.1 && < 2.3
|
||||||
else
|
else
|
||||||
build-depends: hslua >= 2.2 && < 2.3
|
build-depends: hslua >= 2.2.1 && < 2.3
|
||||||
if flag(embed_data_files)
|
if flag(embed_data_files)
|
||||||
cpp-options: -DEMBED_DATA_FILES
|
cpp-options: -DEMBED_DATA_FILES
|
||||||
other-modules: Text.Pandoc.Data
|
other-modules: Text.Pandoc.Data
|
||||||
|
|
12
stack.yaml
12
stack.yaml
|
@ -11,19 +11,19 @@ extra-deps:
|
||||||
- skylighting-0.12.3.1
|
- skylighting-0.12.3.1
|
||||||
- emojis-0.1.2
|
- emojis-0.1.2
|
||||||
- lpeg-1.0.3
|
- lpeg-1.0.3
|
||||||
- hslua-2.2.0
|
- hslua-2.2.1
|
||||||
- hslua-aeson-2.2.0
|
- hslua-aeson-2.2.0
|
||||||
- hslua-classes-2.2.0
|
- hslua-classes-2.2.0
|
||||||
- hslua-core-2.2.0
|
- hslua-core-2.2.1
|
||||||
- hslua-marshalling-2.2.0
|
- hslua-marshalling-2.2.1
|
||||||
- hslua-module-doclayout-1.0.4
|
- hslua-module-doclayout-1.0.4
|
||||||
- hslua-module-path-1.0.2
|
- hslua-module-path-1.0.2
|
||||||
- hslua-module-system-1.0.2
|
- hslua-module-system-1.0.2
|
||||||
- hslua-module-text-1.0.2
|
- hslua-module-text-1.0.2
|
||||||
- hslua-module-version-1.0.2
|
- hslua-module-version-1.0.2
|
||||||
- hslua-objectorientation-2.2.0
|
- hslua-objectorientation-2.2.1
|
||||||
- hslua-packaging-2.2.0
|
- hslua-packaging-2.2.1
|
||||||
- lua-2.2.0
|
- lua-2.2.1
|
||||||
- lua-arbitrary-1.0.1
|
- lua-arbitrary-1.0.1
|
||||||
- tasty-hslua-1.0.2
|
- tasty-hslua-1.0.2
|
||||||
- tasty-lua-1.0.2
|
- tasty-lua-1.0.2
|
||||||
|
|
Loading…
Add table
Reference in a new issue