From 50028b2d7c1a8e4b39de54db2cbd84c8c143a4ef Mon Sep 17 00:00:00 2001 From: adisbladis Date: Sat, 19 Jan 2019 13:54:34 +0000 Subject: [PATCH] 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. --- pkgs/top-level/all-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f2d46ab15b3..5a5b46ed862 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };