python3Packages.pip-tools: fix aarch64-darwin build
This commit is contained in:
parent
12697a1621
commit
ef1b558e0f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue