From 09046bfef2490927eb2baa2a396f3f0124c5ee26 Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Sat, 30 May 2026 13:27:59 +0000 Subject: [PATCH 1/2] texlive.withPackages: fix typo --- pkgs/tools/typesetting/tex/texlive/build-tex-env.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix index 01ae7e52c427..dc98b0a64297 100644 --- a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix +++ b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix @@ -509,7 +509,7 @@ lib.fix ( postactionScripts = builtins.catAttrs "postactionScript" pkgList.tlpkg; - # whethe to include doc, source containers + # whether to include doc, source containers withDocs = false; withSources = false; From 895c726b94685f4dde71e1fe7403d0ea516ee45c Mon Sep 17 00:00:00 2001 From: Martin Joerg Date: Sat, 30 May 2026 14:07:50 +0000 Subject: [PATCH 2/2] 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. --- .../typesetting/tex/texlive/build-texlive-package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix b/pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix index 841fc76479d8..80f2051d0ba7 100644 --- a/pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix +++ b/pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix @@ -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;