python3Packages.gst-python: fix darwin build
This commit is contained in:
@@ -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 { };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user