diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index b6fde0a303c4..303a9d7859a9 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -252,6 +252,8 @@ stdenv.mkDerivation ({ env = stdenv.mkDerivation { name = "interactive-${optionalString hasActiveLibrary "haskell-"}${pname}-${version}-environment"; nativeBuildInputs = [ ghcEnv systemBuildInputs ]; + LANG = "en_US.UTF-8"; + LOCALE_ARCHIVE = optionalString stdenv.isLinux "${glibcLocales}/lib/locale/locale-archive"; shellHook = '' export NIX_GHC="${ghcEnv}/bin/ghc" export NIX_GHCPKG="${ghcEnv}/bin/ghc"