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:
parent
db8e3654e2
commit
50028b2d7c
@ -18358,6 +18358,8 @@ in
|
|||||||
x11Support = !stdenv.isDarwin;
|
x11Support = !stdenv.isDarwin;
|
||||||
xineramaSupport = !stdenv.isDarwin;
|
xineramaSupport = !stdenv.isDarwin;
|
||||||
xvSupport = !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 { };
|
mpv-with-scripts = callPackage ../applications/video/mpv/wrapper.nix { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user