From e4987a8906ca42df0ff06cd6448bb97923d08bc5 Mon Sep 17 00:00:00 2001 From: Sebastian Steger Date: Tue, 3 Nov 2026 15:59:39 +0100 Subject: [PATCH] Enhance aarch64 workaround in Dockerfile to set locale variables before HLS compilation --- haskell/.devcontainer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haskell/.devcontainer/Dockerfile b/haskell/.devcontainer/Dockerfile index 5f23c99..5e88858 100644 --- a/haskell/.devcontainer/Dockerfile +++ b/haskell/.devcontainer/Dockerfile @@ -42,5 +42,7 @@ RUN cabal update && cabal install --lib HUnit \ # workaround for aarch64 architecture to compile HLS RUN if [ "$(uname -m)" = "aarch64" ]; then \ - cabal update && ghcup compile hls --version 2.14.0.0 --ghc 9.10.3 && rm -rf ~/.cabal/packages/*; \ + export LANG=C.UTF-8 && export LC_ALL=C.UTF-8 \ + && cabal update && ghcup compile hls --version 2.14.0.0 --ghc 9.10.3 \ + && rm -rf ~/.cabal/packages/*; \ fi