parent
1ec61dd416
commit
f318d3b560
|
@ -20,7 +20,10 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# needed on non-x86 linux
|
# needed on non-x86 linux
|
||||||
setupPyBuildFlags = lib.optionals stdenv.isLinux [ "--plat-name" "linux" ];
|
setupPyBuildFlags = lib.optionals stdenv.isLinux [ "--plat-name" "linux" ]
|
||||||
|
# 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.
|
||||||
|
++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "--plat-name" "macosx_11_0" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
|
|
Loading…
Reference in a new issue