Unverified Commit d44df9df authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

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

parents 8072a972 190b4b2f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
{
  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 { };
  };