Merge pull request #46895 from Mic92/typeguard

python3.pkgs.typeguard: fix builds by applying utf-8 locales
This commit is contained in:
Jörg Thalheim 2018-09-19 15:13:46 +01:00 committed by GitHub
commit cffad7fb63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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