pass correct vapoursynth package to python packages

pull/13/head
Simon Bruder 2022-09-03 22:16:41 +02:00 committed by Simon Bruder
parent 3ac96a0fb0
commit 7a032943f0
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 {