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 = {