mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
texlive: export schemes at top level
This commit is contained in:
parent
388c14edc5
commit
80cd75f4cb
@ -623,7 +623,7 @@ rec {
|
||||
(savedLicensesAttrNames scheme) != (correctLicensesAttrNames scheme);
|
||||
incorrectSchemes = lib.filterAttrs
|
||||
(n: hasLicenseMismatch)
|
||||
texlive.combined;
|
||||
(texlive.combined // texlive.schemes);
|
||||
prettyPrint = name: scheme:
|
||||
''
|
||||
license info for ${name} is incorrect! Note that order is enforced.
|
||||
|
@ -194,6 +194,11 @@ let
|
||||
)
|
||||
);
|
||||
|
||||
schemes = lib.listToAttrs (map (s: {
|
||||
name = "texlive" + s;
|
||||
value = lib.addMetaAttrs { license = licenses.${"scheme-" + (lib.toLower s)}; } (buildTeXEnv { requiredTeXPackages = ps: [ ps.${"scheme-" + (lib.toLower s)} ]; });
|
||||
}) [ "Basic" "BookPub" "ConTeXt" "Full" "GUST" "InfraOnly" "Medium" "Minimal" "Small" "TeTeX" ]);
|
||||
|
||||
in
|
||||
allPkgLists // {
|
||||
pkgs = tl;
|
||||
@ -213,6 +218,8 @@ in
|
||||
|
||||
combined = assert assertions; combined;
|
||||
|
||||
inherit schemes;
|
||||
|
||||
# convenience alias
|
||||
withPackages = (buildTeXEnv { }).withPackages;
|
||||
}
|
||||
|
@ -5446,6 +5446,7 @@ with pkgs;
|
||||
|
||||
# TeX Live; see https://nixos.org/nixpkgs/manual/#sec-language-texlive
|
||||
texlive = recurseIntoAttrs (callPackage ../tools/typesetting/tex/texlive { });
|
||||
inherit (texlive.schemes) texliveBasic texliveBookPub texliveConTeXt texliveFull texliveGUST texliveInfraOnly texliveMedium texliveMinimal texliveSmall texliveTeTeX;
|
||||
|
||||
fop = callPackage ../tools/typesetting/fop {
|
||||
jdk = openjdk8;
|
||||
|
Loading…
Reference in New Issue
Block a user