summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-04 20:02:31 +0000
committerVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-05 11:56:05 +0000
commitf72a312206a102585c86b5f9dffc0339a76fd3e8 (patch)
treea18786c65c21e8a308d7b59071e6804432a2a0ef /pkgs/tools/typesetting
parent00ab8f1f588996619cd279047cca683358cfa238 (diff)
downloadnixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar.gz
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar.bz2
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar.lz
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar.xz
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.tar.zst
nixpkgs-f72a312206a102585c86b5f9dffc0339a76fd3e8.zip
dblatex: replace texlive.combine with texliveBasic.withPackages
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/dblatex/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/tools/typesetting/tex/dblatex/default.nix b/pkgs/tools/typesetting/tex/dblatex/default.nix
index 89eaf0346a4..1f3fd13d286 100644
--- a/pkgs/tools/typesetting/tex/dblatex/default.nix
+++ b/pkgs/tools/typesetting/tex/dblatex/default.nix
@@ -1,13 +1,13 @@
-{ lib, stdenv, fetchurl, python3, libxslt, texlive
+{ lib, stdenv, fetchurl, python3, libxslt, texliveBasic
 , enableAllFeatures ? false, imagemagick, fig2dev, inkscape, fontconfig, ghostscript
 
-, tex ? texlive.combine { # satisfy all packages that ./configure mentions
-    inherit (texlive) scheme-basic epstopdf anysize appendix changebar
-      fancybox fancyvrb float footmisc listings jknapltx/*for mathrsfs.sty*/
-      multirow overpic pdfpages pdflscape graphics stmaryrd subfigure titlesec wasysym
-      # pkgs below don't seem requested by dblatex, but our manual fails without them
-      ec zapfding symbol eepic times rsfs cs tex4ht courier helvetic ly1;
-  }
+, tex ? texliveBasic.withPackages (ps: with ps; [ # satisfy all packages that ./configure mentions
+    epstopdf anysize appendix changebar
+    fancybox fancyvrb float footmisc listings jknapltx/*for mathrsfs.sty*/
+    multirow overpic pdfpages pdflscape graphics stmaryrd subfigure titlesec wasysym
+    # pkgs below don't seem requested by dblatex, but our manual fails without them
+    ec zapfding symbol eepic times rsfs cs tex4ht courier helvetic ly1
+  ])
 }:
 
 # NOTE: enableAllFeatures just purifies the expression, it doesn't actually