From b224eef1081cd8ca9f4b5564dd33b09a1e274529 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Wed, 19 Sep 2018 15:08:20 +0100 Subject: python3.pkgs.typeguard: fix builds by applying utf-8 locales ZHF #45960 --- pkgs/development/python-modules/typeguard/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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" "" -- cgit 1.4.1