Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

texlive.combine: package 'combine' from CTAN not usable #237227

Closed
xworld21 opened this issue Jun 11, 2023 · 2 comments
Closed

texlive.combine: package 'combine' from CTAN not usable #237227

xworld21 opened this issue Jun 11, 2023 · 2 comments
Labels
0.kind: bug Something is broken 6.topic: TeX Issues regarding texlive and TeX in general

Comments

@xworld21
Copy link
Contributor

xworld21 commented Jun 11, 2023

The attribute texlive.combine masks the package combine from TeX Live, which is thus not accessible for normal use. In the future, TeX Live could at any time ship bin, combined, tlpdb, which would also be masked by the current texlive implementation.

If anybody can think of a clever, non-breaking fix for 23.05...

For 23.11, I am working on a new interface (like texlive.withPackages, or texlive.scheme-*.withPackages, or something else of the sort) and since it would be a breaking change, we will be free to resolve the issue properly by e.g. moving the packages under texlive.packages.

Steps To Reproduce

According to the docs, to get the combine package, one should use

texlive.combine {
  inherit (texlive) scheme-infraonly combine;
}

which does not work as intended, because texlive.combine is not a TeX Live package but a special Nixpkgs builder.

Edit: let me add that the package combine can still be used by adding collection-latexextra, since the dependencies are created while building the tl attrset, well away from the final texlive attrset. Brave users can even fish combine out of collection-latexextra.

Notify maintainers

@veprbl
Cc @apfelkuchen6

@apfelkuchen6
Copy link
Contributor

Some work for this has been done in #120578.

@xworld21 xworld21 added the 6.topic: TeX Issues regarding texlive and TeX in general label Jul 7, 2023
@xworld21
Copy link
Contributor Author

xworld21 commented Jan 4, 2024

This now works using with texliveSmall.withPackages.

@xworld21 xworld21 closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: TeX Issues regarding texlive and TeX in general
Projects
None yet
Development

No branches or pull requests

2 participants