exiv2: adding DYLD_LIBRARY_PATH= for darwin tests

This commit is contained in:
Marek Mahut 2019-08-26 15:31:31 +02:00
parent 9b4e5a9325
commit 4ee4bb9872

View file

@ -67,6 +67,14 @@ stdenv.mkDerivation rec {
${stdenv.lib.optionalString stdenv.isAarch64 ''
rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
''}
${stdenv.lib.optionalString stdenv.isDarwin ''
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`/lib
# Removing tests depending on charset conversion
substituteInPlace ../test/Makefile --replace "conversions.sh" ""
rm -f ../tests/bugfixes/redmine/test_issue_460.py
rm -f ../tests/bugfixes/redmine/test_issue_662.py
''}
'';
postCheck = ''