python.pkgs.configparser: fix darwin regression

We can use C.UTF-8 on Linux but not yet on Darwin.
This commit is contained in:
Frederik Rietdijk 2019-02-22 18:31:36 +01:00
parent 71f4ba29a3
commit 8220b5bac8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
preConfigure = '' preConfigure = ''
export LC_ALL=C.UTF-8 export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {