python3Packages.pip-tools: fix aarch64-darwin build

This commit is contained in:
Konstantin Alekseev 2022-05-12 12:44:42 +03:00
parent 12697a1621
commit ef1b558e0f

View file

@ -8,6 +8,7 @@
, click
, setuptools-scm
, pep517
, stdenv
}:
buildPythonPackage rec {
@ -26,6 +27,11 @@ buildPythonPackage rec {
pytest-xdist
];
preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
# https://github.com/python/cpython/issues/74570#issuecomment-1093748531
export no_proxy='*';
'';
nativeBuildInputs = [
setuptools-scm
];