mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #46895 from Mic92/typeguard
python3.pkgs.typeguard: fix builds by applying utf-8 locales
This commit is contained in:
commit
cffad7fb63
@ -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" ""
|
||||||
|
Loading…
Reference in New Issue
Block a user