Merge pull request #172679 from kalekseev/fix/pip-tools-aarch64-darwin

python3Packages.pip-tools: fix aarch64-darwin build
This commit is contained in:
Thiago Kenji Okada 2022-05-12 16:08:45 +01:00 committed by GitHub
commit f73cc9cbd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
];