mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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;
|
||||
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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user