diff options
author | Willi Ballenthin <willi.ballenthin@gmail.com> | 2022-03-24 13:16:36 -0600 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-03-25 20:19:13 +0200 |
commit | f318d3b5605aaed8b2ee8ba645656fc4f65cfd41 (patch) | |
tree | 13b914fda8091df905f77dd9dc07ebd1e0d3eff4 /pkgs/development | |
parent | 1ec61dd4167f04be8d05c45780818826132eea0d (diff) |
python3Packages.unicorn: fix build on aarch64-darwin
closes #165181
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/unicorn/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/unicorn/default.nix b/pkgs/development/python-modules/unicorn/default.nix index 1f2876bdc693f..8a568a47c0e49 100644 --- a/pkgs/development/python-modules/unicorn/default.nix +++ b/pkgs/development/python-modules/unicorn/default.nix @@ -20,7 +20,10 @@ buildPythonPackage rec { ''; # 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 = [ setuptools |