3
0
Fork 0
forked from mirrors/nixpkgs

python3.pkgs.configparser: fix build

This commit is contained in:
Frederik Rietdijk 2020-06-07 10:16:32 +02:00
parent 5146c7b0cf
commit 1ed7eb71b7

View file

@ -1,4 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }:
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "configparser";
@ -12,7 +14,7 @@ buildPythonPackage rec {
# No tests available
doCheck = false;
nativeBuildInputs = [ setuptools_scm ];
nativeBuildInputs = [ setuptools_scm toml ];
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8