diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2018-09-19 15:08:20 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2018-09-19 15:11:31 +0100 |
commit | b224eef1081cd8ca9f4b5564dd33b09a1e274529 (patch) | |
tree | 11fc786628caf250a62c29b448f3f39c4df75184 /pkgs/development | |
parent | 32cd582645856dfa19e2471dfa3810276b3d629b (diff) | |
download | nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar.gz nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar.bz2 nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar.lz nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar.xz nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.tar.zst nixlib-b224eef1081cd8ca9f4b5564dd33b09a1e274529.zip |
python3.pkgs.typeguard: fix builds by applying utf-8 locales
ZHF #45960
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/typeguard/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index 6ccde34f48a0..7fb6f8fef435 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -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" "" |