nixpkgs/pkgs/development/python-modules/pyelftools
Sirio Balmelli 8fb56a487f python3Packages.pyelftools: disable tests on Darwin
af27072 broke the build on Darwin.

There does not seem to be any way to sanely enable tests on Darwin.

Tests initially fail because of missing 'greadelf'
expected by test/run_readelf_tests.py.

This is fixed by:

- adding 'binutils-unwrapped' to checkInputs
- hardlinking 'readelf' to 'greadelf' in a temp bin dir
- exporting temp bin dir to PATH

This leads to further test failures because of 'readelf' version mismatch
causing output inconsistencies.

See test/run_readelf_tests.py:31 for further details.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-11-06 10:48:01 -08:00
..
default.nix