Merge pull request #165681 from williballenthin/patch-2

This commit is contained in:
Artturi 2022-03-25 21:08:19 +02:00 committed by GitHub
commit 01655d59e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,10 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace manylinux1 manylinux2014 substituteInPlace setup.py --replace manylinux1 manylinux2014
''; '';
# aarch64 only available from MacOS SDK 11 onwards, so fix the version tag.
# otherwise, bdist_wheel may detect "macosx_10_6_arm64" which doesn't make sense.
setupPyBuildFlags = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "--plat-name" "macosx_11_0" ];
propagatedBuildInputs = [ setuptools ]; propagatedBuildInputs = [ setuptools ];
checkPhase = '' checkPhase = ''