From c6376a3e9aa6a3f2feaa6a4a4de797b652599956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 4 Sep 2016 14:11:48 +0200 Subject: [PATCH] texlive: fixup some packages missing from scheme-full Hopefully they're all now. --- pkgs/tools/typesetting/tex/texlive/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix index 685f266adbee..30a60183cb36 100644 --- a/pkgs/tools/typesetting/tex/texlive/default.nix +++ b/pkgs/tools/typesetting/tex/texlive/default.nix @@ -46,6 +46,10 @@ let hasRunfiles = false; # only *.po for tlmgr }; + xdvi = orig.xdvi // { # it seems to need it to transform fonts + deps = (orig.xdvi.deps or {}) // { inherit (tl) metafont; }; + }; + # remove dependency-heavy packages from the basic collections collection-basic = orig.collection-basic // { deps = removeAttrs orig.collection-basic.deps [ "luatex" "metafont" "xdvi" ]; @@ -53,9 +57,15 @@ let latex = orig.latex // { deps = removeAttrs orig.latex.deps [ "luatex" ]; }; - - xdvi = orig.xdvi // { # it seems to need it to transform fonts - deps = (orig.xdvi.deps or {}) // { inherit (tl) metafont; }; + # add them elsewhere so that collections cover all packages + collection-luatex = orig.collection-luatex // { + deps = orig.collection-luatex.deps // { inherit (tl) luatex; }; + }; + collection-metapost = orig.collection-metapost // { + deps = orig.collection-metapost.deps // { inherit (tl) metafont; }; + }; + collection-genericextra = orig.collection-genericextra // { + deps = orig.collection-genericextra.deps // { inherit (tl) xdvi; }; }; }; # overrides