asciidoc: replace texlive.combine with texliveMinimal.withPackages

This commit is contained in:
Vincenzo Mantova 2023-11-04 20:02:31 +00:00
parent 9d3d2373a9
commit 5fcdb28319
2 changed files with 6 additions and 2 deletions

View file

@ -6,7 +6,7 @@
, highlight
, pygments
, graphviz
, texlive
, texliveMinimal
, dblatexFull
, libxslt
, w3m
@ -55,6 +55,11 @@ let
_enableDeckjsBackend = enableExtraPlugins || enableDeckjsBackend;
_enableOdfBackend = enableExtraPlugins || enableOdfBackend;
#
# texlive environment
#
texlive = texliveMinimal.withPackages (ps: [ ps.dvipng ]);
#
# filters
#

View file

@ -6585,7 +6585,6 @@ with pkgs;
asciidoc = callPackage ../tools/typesetting/asciidoc {
inherit (python3.pkgs) pygments matplotlib numpy aafigure recursivePthLoader;
texlive = texlive.combine { inherit (texlive) scheme-minimal dvipng; };
w3m = w3m-batch;
enableStandardFeatures = false;
};