Closed milasudril closed 6 years ago
$ locale -a
C
en_GB.utf8
POSIX
$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
locale on the Arch Wiki
The non-zero exit code is a problem for creating an Arch PKGBUILD. Here's my incomplete PKGBUILD for Anja.
commercialhaskell/stack#856 appears to have the answer
Try to change the script so it changes the locale to C or POSIX instead. I need to verify that it works on Ubuntu though.
I tried just "C" but it failed, then "POSIX", but that failed also, so I tried "en_GB.utf8" and it was juuust right! :)
With a hacky sed change, the PKGBUILD works. Anja is now in the AUR. Edit; hack is now an echo $LANG
That appears to work, thanks! I've updated the PKGBUILD in the AUR.
It appears that there is a problem with using the C.UTF-8 locale on Arch: