From af229eadca4890c9a4570ce5bbd837e1a7a2c512 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Sat, 23 May 2026 13:17:22 +0100 Subject: [PATCH] R: make tlDeps a function --- pkgs/applications/science/math/R/default.nix | 27 ++++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 4aaa715f2f02..840f6bbd79af 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -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 = {