texlive.withPackages: treat texsource containers as regular outputs

Since Hydra no longer builds the texlivePackages subtree, texsource containers
can now be treated as regular outputs in buildTeXLivePackage.
This also enables the withSources argument of buildTeXEnv to work as intended.
This commit is contained in:
Martin Joerg
2026-05-30 14:07:50 +00:00
parent 09046bfef2
commit 895c726b94
@@ -106,11 +106,8 @@ let
lib.optional hasBinfiles "out"
++ lib.optional hasRunfiles "tex"
++ lib.optional hasDocfiles "texdoc"
++
# omit building sources, since as far as we know, installing them is not common
# the sources will still be available under drv.texsource
# lib.optional hasSource "texsource" ++
lib.optional hasTlpkg "tlpkg"
++ lib.optional hasSource "texsource"
++ lib.optional hasTlpkg "tlpkg"
++ lib.optional hasManpages "man"
++ lib.optional hasInfo "info";
outputDrvs = lib.getAttrs outputs containers;