From 7e8156e31ef723db842016f798c20c39f8f2bb91 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 22 Aug 2026 10:24:39 +0200 Subject: gnu: r-tinytex: Fix integration with existing TeX Live tree. * gnu/packages/cran.scm (r-tinytex)[propagated-inputs]: Directly propagate TeX Live packages, not using `texlive-local-tree`. [native-inputs]: Add `texlive-local-tree` along with all previously provided inputs in order to run tests properly. Fixes: guix/guix#10557 --- gnu/packages/cran.scm | 78 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 27 deletions(-) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index dcf33d06317..68e25bc55cf 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24589,33 +24589,57 @@ vectors.") r-xfun ;; Not all these packages are strictly needed by tinytex, but they ;; are needed by r-biocstyle. It is easier to just provide them - ;; here. - (texlive-local-tree - (list texlive-bera - texlive-caption - texlive-changepage - texlive-enumitem - texlive-footmisc - texlive-framed - texlive-helvetic - texlive-latex-uni8 - texlive-luatex85 - texlive-marginfix - texlive-mathtools - texlive-metapost - texlive-nowidow - texlive-parnotes - texlive-parskip - texlive-pdfcrop - texlive-placeins - texlive-preprint - texlive-scheme-small - texlive-soul - texlive-standalone - texlive-titlesec - texlive-titling - texlive-xstring)))) - (native-inputs (list r-testit)) + ;; here + texlive-bera + texlive-caption + texlive-changepage + texlive-enumitem + texlive-footmisc + texlive-framed + texlive-helvetic + texlive-latex-uni8 + texlive-luatex85 + texlive-marginfix + texlive-mathtools + texlive-metapost + texlive-nowidow + texlive-parnotes + texlive-parskip + texlive-pdfcrop + texlive-placeins + texlive-preprint + texlive-scheme-small + texlive-soul + texlive-standalone + texlive-titlesec + texlive-titling + texlive-xstring)) + (native-inputs (list r-testit + (texlive-local-tree + (list texlive-bera + texlive-caption + texlive-changepage + texlive-enumitem + texlive-footmisc + texlive-framed + texlive-helvetic + texlive-latex-uni8 + texlive-luatex85 + texlive-marginfix + texlive-mathtools + texlive-metapost + texlive-nowidow + texlive-parnotes + texlive-parskip + texlive-pdfcrop + texlive-placeins + texlive-preprint + texlive-scheme-small + texlive-soul + texlive-standalone + texlive-titlesec + texlive-titling + texlive-xstring)))) (home-page "https://github.com/yihui/tinytex") (synopsis "Helper functions for TeX Live and compiling LaTeX documents") (description -- cgit v1.2.3