python3.pkgs.typeguard: fix builds by applying utf-8 locales

ZHF #45960
This commit is contained in:
Jörg Thalheim 2018-09-19 15:08:20 +01:00
parent 32cd582645
commit b224eef108

View File

@ -4,6 +4,7 @@
, stdenv
, setuptools_scm
, pytest
, glibcLocales
}:
buildPythonPackage rec {
@ -16,6 +17,9 @@ buildPythonPackage rec {
};
buildInputs = [ setuptools_scm ];
nativeBuildInputs = [ glibcLocales ];
LC_ALL="en_US.utf-8";
postPatch = ''
substituteInPlace setup.cfg --replace " --cov" ""