Skip to content

Commit ab05ff7

Browse files
authored
Update call-cabal-project-to-nix.nix (#429)
1 parent 617f24e commit ab05ff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/call-cabal-project-to-nix.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ let
172172
}) (runCommand (if name == null then "plan-to-nix-pkgs" else name + "-plan-to-nix-pkgs") {
173173
nativeBuildInputs = [ nix-tools ghc hpack cabal-install pkgs.rsync pkgs.git ];
174174
# Needed or stack-to-nix will die on unicode inputs
175+
LOCALE_ARCHIVE = pkgs.lib.optionalString (pkgs.stdenv.hostPlatform.libc == "glibc") "${pkgs.glibcLocales}/lib/locale/locale-archive";
175176
LANG = "en_US.UTF-8";
176177
meta.platforms = pkgs.lib.platforms.all;
177178
preferLocalBuild = false;

0 commit comments

Comments
 (0)