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

python3Packages.pip-tools: fix aarch64-darwin build
main
Thiago Kenji Okada 2 years ago committed by GitHub
commit f73cc9cbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/development/python-modules/pip-tools/default.nix

@ -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…
Cancel
Save