diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-09-19 15:13:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 15:13:46 +0100 |
commit | cffad7fb631568ecb1e380ceb2bd44daa2755d28 (patch) | |
tree | 05b8165d12e0be124d51e7b81bbf21b14580618f /pkgs | |
parent | 4bd4cda3a7c9b18de94e1ff667cac6d7fe665a16 (diff) | |
parent | b224eef1081cd8ca9f4b5564dd33b09a1e274529 (diff) | |
download | nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar.gz nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar.bz2 nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar.lz nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar.xz nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.tar.zst nixlib-cffad7fb631568ecb1e380ceb2bd44daa2755d28.zip |
Merge pull request #46895 from Mic92/typeguard
python3.pkgs.typeguard: fix builds by applying utf-8 locales
Diffstat (limited to 'pkgs')
-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" "" |