pass correct vapoursynth package to python packages

pull/9/head
Simon Bruder 2022-09-03 22:16:41 +02:00
parent 3ac96a0fb0
commit dd373f71e7
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 6 additions and 1 deletions

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 {