duckdb: add darwin library path to allow tests to run

This commit is contained in:
Phillip Cloud 2022-05-02 06:44:57 -04:00
parent 2b88803ac9
commit c05e64b281
No known key found for this signature in database
GPG Key ID: D908212070FD785E

View File

@ -49,6 +49,10 @@ stdenv.mkDerivation rec {
doInstallCheck = true;
preInstallCheck = lib.optionalString stdenv.isDarwin ''
export DYLD_LIBRARY_PATH="$out/lib''${DYLD_LIBRARY_PATH:+:}''${DYLD_LIBRARY_PATH}"
'';
installCheckPhase =
let
excludes = map (pattern: "exclude:'${pattern}'") [