pass correct vapoursynth package to python packages

This commit is contained in:
Simon Bruder 2022-09-03 22:16:41 +02:00
parent 3ac96a0fb0
commit dd373f71e7
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -1,6 +1,11 @@
final: prev:
let
callPythonPackage = prev.vapoursynth.python3.pkgs.callPackage;
# This is required to allow vapoursynth.withPlugins to be used inside python packages,
# where normally python3Packages.vapoursynth would be used,
# which only includes the python module without the frameserver.
callPythonPackage = prev.lib.callPackageWith (final // final.vapoursynth.python3.pkgs // {
inherit (final) vapoursynth;
});
in
{
vapoursynthPlugins = prev.recurseIntoAttrs {