python3Packages.gst-python: fix darwin build (#405195)

This commit is contained in:
Vladimír Čunát 2025-05-29 09:12:22 +02:00
commit d44df9dfcf
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

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 { };
};