R: make tlDeps a function

This commit is contained in:
Vincenzo Mantova
2026-05-23 14:05:26 +01:00
parent f53f80a757
commit af229eadca
+13 -14
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 = {