Merge pull request #118593 from Mic92/pyelftools

python3.pkgs.pyelftools: fix aarch64 build
This commit is contained in:
Jörg Thalheim 2021-04-05 14:19:45 +01:00 committed by GitHub
commit 74e6e3c5bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ buildPythonPackage rec {
sha256 = "09igdym2qj2fvfcazbz25qybmgz7ccrn25xn3havfkdkka0z0i3p";
};
doCheck = stdenv.is64bit && !stdenv.isDarwin;
doCheck = stdenv.hostPlatform.system == "x86_64-linux";
checkPhase = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" test/external_tools/readelf