python.pkgs.configparser: fix darwin regression
We can use C.UTF-8 on Linux but not yet on Darwin.
This commit is contained in:
parent
71f4ba29a3
commit
8220b5bac8
|
@ -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; {
|
||||||
|
|
Loading…
Reference in New Issue