duckdb: add darwin library path to allow tests to run

This commit is contained in:
Phillip Cloud
2022-05-02 06:45:38 -04:00
parent 2b88803ac9
commit c05e64b281
@@ -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}'") [