Merge #171744: libxml2: re-enable tests for darwin

...into staging
This commit is contained in:
Vladimír Čunát 2022-07-29 19:31:25 +02:00
commit e48c99ecbd
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -94,8 +94,10 @@ stdenv.mkDerivation rec {
doCheck =
(stdenv.hostPlatform == stdenv.buildPlatform) &&
!stdenv.isDarwin &&
stdenv.hostPlatform.libc != "musl";
preCheck = lib.optional stdenv.isDarwin ''
export DYLD_LIBRARY_PATH="$PWD/.libs:$DYLD_LIBRARY_PATH"
'';
preConfigure = lib.optionalString (lib.versionAtLeast stdenv.hostPlatform.darwinMinVersion "11") ''
MACOSX_DEPLOYMENT_TARGET=10.16