asymptote: replace texlive.combine with texliveSmall.withPackages

This commit is contained in:
Vincenzo Mantova 2023-11-04 20:02:32 +00:00
parent 5fcdb28319
commit 25708f8e5a
2 changed files with 3 additions and 5 deletions

View file

@ -4,7 +4,7 @@
, boehmgc, libGLU, libGL, mesa, ncurses, readline, gsl, libsigsegv
, python3, qtbase, qtsvg, boost
, zlib, perl, curl
, texLive, texinfo
, texliveSmall, texinfo
, darwin
}:
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
ghostscriptX imagemagick fftw
boehmgc ncurses readline gsl libsigsegv
zlib perl curl qtbase qtsvg boost
texLive
(texliveSmall.withPackages (ps: with ps; [ epsf cm-super ps.texinfo media9 ocgx2 collection-latexextra ]))
(python3.withPackages (ps: with ps; [ cson numpy pyqt5 ]))
];

View file

@ -3319,9 +3319,7 @@ with pkgs;
astc-encoder = callPackage ../tools/graphics/astc-encoder { };
asymptote = libsForQt5.callPackage ../tools/graphics/asymptote {
texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super texinfo media9 ocgx2 collection-latexextra; };
};
asymptote = libsForQt5.callPackage ../tools/graphics/asymptote { };
async = callPackage ../development/tools/async { };