R: make tlDeps a function

(cherry picked from commit af229eadca)
This commit is contained in:
Vincenzo Mantova
2026-05-23 13:17:22 +01:00
committed by github-actions[bot]
parent 4f5a6cb074
commit 614cdd7b0e

View File

@@ -16,7 +16,6 @@
perl,
readline,
tcl,
texlive,
texliveSmall,
tk,
xz,
@@ -199,19 +198,19 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
# dependencies (based on \RequirePackage in jss.cls, Rd.sty, Sweave.sty)
passthru.tlDeps = with texlive; [
amsfonts
amsmath
fancyvrb
graphics
hyperref
iftex
jknapltx
latex
lm
tools
upquote
url
passthru.tlDeps = ps: [
ps.amsfonts
ps.amsmath
ps.fancyvrb
ps.graphics
ps.hyperref
ps.iftex
ps.jknapltx
ps.latex
ps.lm
ps.tools
ps.upquote
ps.url
];
meta = {