patchelf: disable tests when bintools binaries are prefixed

This commit is contained in:
Ryan Burns 2022-10-17 17:07:36 -07:00 committed by Rick van Schijndel
parent 16031f889c
commit 78e99150c4

View file

@ -21,7 +21,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
# fails 8 out of 24 tests, problems when loading libc.so.6 # fails 8 out of 24 tests, problems when loading libc.so.6
doCheck = stdenv.name == "stdenv-linux"; doCheck = stdenv.name == "stdenv-linux"
# test scripts require unprefixed bintools binaries
# https://github.com/NixOS/patchelf/issues/417
&& stdenv.cc.targetPrefix == "";
meta = with lib; { meta = with lib; {
homepage = "https://github.com/NixOS/patchelf"; homepage = "https://github.com/NixOS/patchelf";