@@ -1,5 +1,5 @@
11{ lib, stdenv, fetchurl, zlib, gd, texinfo4, makeWrapper, readline
2−, withTeXLive ? false, texLive
2+, withTeXLive ? false, texlive
33, withLua ? false, lua
44, emacs ? null
55, libX11 ? null
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 buildInputs =
3232 [ zlib gd texinfo4 readline pango cairo pkgconfig makeWrapper ]
33− ++ lib.optional withTeXLive texLive
33+ ++ lib.optional withTeXLive (texlive.combine { inherit (texlive) scheme-small; })
3434 ++ lib.optional withLua lua
3535 ++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
3636 ++ lib.optional withQt [ qt ]