set unicode locale when building

some packages, particularly unix-compat, fail to install in a C
locale. wow
This commit is contained in:
Joey Hess 2014-05-25 21:44:28 -04:00
parent 6052486dc3
commit 8abaafaf6d
2 changed files with 7 additions and 0 deletions

View file

@ -27,6 +27,10 @@ setupcabal () {
# should be able to remove this eventually.
cabal install transformers-compat -fthree
cabal install mtl-2.1.3.1
# Some packages fail to install in a non unicode locale.
LANG=en_US.UTF-8
export LANG
}
cabalinstall () {