Package: haskell-stack
Version: 1.1.2-8
Severity: normal

Dear Debian folks,


With a non-UTF-8 locale `stack new` fails with the error below.

```
$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ stack new test yesod-sqlite
Downloading template "yesod-sqlite" to create project "test" in test/ ...
/root/.stack/templates/yesod-sqlite.hsfiles: hGetContents: invalid argument 
(invalid byte sequence)
```

Probably it’s a similar problem like in shellcheck, which was fixed
there [1].


Thanks,

Paul


[1] 
https://github.com/koalaman/shellcheck/commit/46fb91b44d2784829a5949e1faeaedaea59e76a8

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to