commit
e48c99ecbd
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue