3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #33698 from dtzWill/fix/texlive-luatex

texlive: don't remove luatex from packages that require it.
This commit is contained in:
Will Dietz 2018-02-23 10:26:02 -06:00 committed by GitHub
commit b42b1c8f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,15 +57,9 @@ let
# remove dependency-heavy packages from the basic collections
collection-basic = orig.collection-basic // {
deps = removeAttrs orig.collection-basic.deps [ "luatex" "metafont" "xdvi" ];
};
latex = orig.latex // {
deps = removeAttrs orig.latex.deps [ "luatex" ];
deps = removeAttrs orig.collection-basic.deps [ "metafont" "xdvi" ];
};
# 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; };
};