forked from mirrors/nixpkgs
Merge pull request #172679 from kalekseev/fix/pip-tools-aarch64-darwin
python3Packages.pip-tools: fix aarch64-darwin build
This commit is contained in:
commit
f73cc9cbd8
|
@ -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