From 1697051b339f21bc404ba25794a2b20fdf2f9301 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 3 Jan 2024 03:03:39 +0100 Subject: [PATCH] python39Packages.typeguard: fix build on python<3.10 --- pkgs/development/python-modules/typeguard/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/typeguard/default.nix b/pkgs/development/python-modules/typeguard/default.nix index 23e3bdc5b546..c2eaf3889bf8 100644 --- a/pkgs/development/python-modules/typeguard/default.nix +++ b/pkgs/development/python-modules/typeguard/default.nix @@ -6,6 +6,7 @@ , setuptools-scm , pytestCheckHook , typing-extensions +, importlib-metadata , sphinxHook , sphinx-autodoc-typehints , sphinx-rtd-theme @@ -40,6 +41,8 @@ buildPythonPackage rec { propagatedBuildInputs = [ typing-extensions + ] ++ lib.optionals (pythonOlder "3.10") [ + importlib-metadata ]; env.LC_ALL = "en_US.utf-8";