python3.pkgs.pyelftools: skip tests on non-glibc targets
pyelftools ships a readelf binary for its test suite that is linked against glibc. Replacing this readelf binary with our stdenv version doesn't work.
This commit is contained in:
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-+T5C0ah2oj5E8fWaQbuzYRVgD5bSiUbaArrlxNLojvw=";
|
||||
};
|
||||
|
||||
doCheck = stdenv.hostPlatform.system == "x86_64-linux";
|
||||
doCheck = stdenv.hostPlatform.system == "x86_64-linux" && stdenv.hostPlatform.isGnu;
|
||||
|
||||
checkPhase = ''
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" test/external_tools/readelf
|
||||
|
||||
Reference in New Issue
Block a user