Skip to content

Commit

Permalink
python.pkgs.configparser: fix darwin regression
Browse files Browse the repository at this point in the history
We can use C.UTF-8 on Linux but not yet on Darwin.
  • Loading branch information
FRidh committed Feb 22, 2019
1 parent 71f4ba2 commit 8220b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/configparser/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildPythonPackage rec {
doCheck = false;

preConfigure = ''
export LC_ALL=C.UTF-8
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit 8220b5b

Please sign in to comment.