texlive.withPackages: convert tlDeps packages to attribute sets
For backward compatibility, if tlDeps contains old style packages (of the type { pkgs = [ ... ]; }), convert them to the new attribute sets.
This commit is contained in:
parent
3119041421
commit
a43b7a7751
@ -58,7 +58,7 @@ let
|
||||
keySet = p: {
|
||||
key = ((p.name or "${p.pname}-${p.version}") + "-" + p.tlOutputName or p.outputName or "");
|
||||
inherit p;
|
||||
tlDeps = p.tlDeps or (p.requiredTeXPackages or (_: [ ]) [ ]);
|
||||
tlDeps = if p ? tlDeps then ensurePkgSets p.tlDeps else (p.requiredTeXPackages or (_: [ ]) [ ]);
|
||||
};
|
||||
in
|
||||
# texlive.combine: the wrapper already resolves all dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user