python3Packages.gst-python: fix darwin build

This commit is contained in:
Amadej Kastelic
2025-05-08 12:37:53 +02:00
parent 8b9086b2dd
commit 190b4b2f2f

View File

@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchurl,
fetchpatch,
@@ -78,6 +79,10 @@ buildPythonPackage rec {
# https://github.com/NixOS/nixpkgs/issues/47390
installCheckPhase = "meson test --print-errorlogs";
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
export DYLD_LIBRARY_PATH="${gst_all_1.gst-plugins-base}/lib"
'';
passthru = {
updateScript = directoryListingUpdater { };
};