diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eb5db9c6d8db..30c624509624 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15374,8 +15374,7 @@ in modules // { doCheck = false; buildInputs = with self; [ - pkgs.freetype pkgs.libjpeg pkgs.zlib pkgs.libtiff pkgs.libwebp pkgs.tcl nose ] - ++ optionals (isPy26 || isPy27 || isPy33 || isPy34 || isPyPy) [ pkgs.lcms2 ] + pkgs.freetype pkgs.libjpeg pkgs.zlib pkgs.libtiff pkgs.libwebp pkgs.tcl nose pkgs.lcms2 ] ++ optionals (isPyPy) [ pkgs.tk pkgs.xorg.libX11 ]; # NOTE: we use LCMS_ROOT as WEBP root since there is not other setting for webp.