python39Packages.typeguard: fix build on python<3.10

This commit is contained in:
Martin Weinelt 2024-01-03 03:03:39 +01:00
parent f7c4f8550f
commit 1697051b33
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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";