Merge pull request #147954 from risicle/ris-pyvex-aarch64

python3Packages.pyvex: fix build for aarch64-linux
This commit is contained in:
Fabian Affolter 2021-11-30 09:11:15 +01:00 committed by GitHub
commit ed8b110683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,8 @@ buildPythonPackage rec {
substituteInPlace vex/Makefile-gcc --replace '/usr/bin/ar' 'ar'
'';
setupPyBuildFlags = lib.optionals stdenv.isLinux [ "--plat-name" "linux" ];
propagatedBuildInputs = [
archinfo
bitstring
@ -45,7 +47,5 @@ buildPythonPackage rec {
homepage = "https://github.com/angr/pyvex";
license = with licenses; [ bsd2 gpl3Plus lgpl3Plus ];
maintainers = with maintainers; [ fab ];
# ERROR: pyvex-X-py3-none-manylinux1_aarch64.whl is not a supported wheel on this platform.
broken = stdenv.isAarch64;
};
}