summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haskell/haskell-idna/haskell-idna.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/haskell/haskell-idna/haskell-idna.SlackBuild b/haskell/haskell-idna/haskell-idna.SlackBuild
index 2275cd41e6..0584bd5c73 100644
--- a/haskell/haskell-idna/haskell-idna.SlackBuild
+++ b/haskell/haskell-idna/haskell-idna.SlackBuild
@@ -74,6 +74,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Build fails if the locale isn't Unicode, so set this for the build:
+export LANG=en_US.UTF-8
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
runghc Setup configure \