mpv: Use docutils from python3

Otherwise docutils propagates python2.
Since we install umpv (a python wrapper script around mpv) python is
pulled in as a runtime dependency of mpv.

Youtube-dl already uses python3 so we can avoid a full python version
in the closure.
This commit is contained in:
adisbladis 2019-01-19 13:54:34 +00:00
parent db8e3654e2
commit 50028b2d7c
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5

@ -18358,6 +18358,8 @@ in
x11Support = !stdenv.isDarwin;
xineramaSupport = !stdenv.isDarwin;
xvSupport = !stdenv.isDarwin;
# Use docutils from python3 to avoid python2 in the closure
inherit (python3Packages) docutils;
};
mpv-with-scripts = callPackage ../applications/video/mpv/wrapper.nix { };