vapoursynth: fix plugin interface on darwin

This commit is contained in:
Weijia Wang 2024-11-26 18:01:21 +01:00
parent 01cb82366f
commit c50074fffd

View File

@ -51,8 +51,13 @@ let
ext = stdenv.hostPlatform.extensions.sharedLibrary;
in
if false then
vapoursynth
if stdenv.hostPlatform.isDarwin then
vapoursynth.overrideAttrs (previousAttrs: {
pname = "vapoursynth-with-plugins";
configureFlags = (previousAttrs.configureFlags or [ ]) ++ [
"--with-plugindir=${pluginsEnv}/lib/vapoursynth"
];
})
else
runCommand "${vapoursynth.name}-with-plugins"
{