Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
C.UTF-8 locale is debian specific #856
Since 9787aed stack tries to set
On distros that do not support this (at least Arch and Fedora) it actually makes the problem far worse than it was before, since now even if your locales are all fine and utf8 trying to set them breaks this, so we're back to the
This means that if people upgrade their stack version, they can't even downgrade and built an old version since the build reproducibly fails.
Argh, sounds like I need to make this more intelligent. Maybe something like:
How does that sound?
(looking forward to GHC_CHARENC)
@cocreature I've pushed more intelligent logic to master. Turns out trying to do anything cross-platform with locales is tricky (there's no standard for locale names), but I'm hoping this does the right thing for the majority of cases and fails gracefully (with a warning).