summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-02-16 00:50:58 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-02-16 01:01:05 +0100
commit4bfaf285378b17f49eeae930f43065abbe89c94d (patch)
treedd70152fd4518a3052bd438e8ab094cfca87c774 /pkgs/tools/typesetting
parentc374a5dd496f0acb95ab44fe54241195ea6b55b9 (diff)
downloadnixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar.gz
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar.bz2
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar.lz
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar.xz
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.tar.zst
nixpkgs-4bfaf285378b17f49eeae930f43065abbe89c94d.zip
tex.dblatex: remove legacy `? null` and assert
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/dblatex/default.nix9
1 files changed, 1 insertions, 8 deletions
diff --git a/pkgs/tools/typesetting/tex/dblatex/default.nix b/pkgs/tools/typesetting/tex/dblatex/default.nix
index 1411fb2d99b..99ef9a8a71a 100644
--- a/pkgs/tools/typesetting/tex/dblatex/default.nix
+++ b/pkgs/tools/typesetting/tex/dblatex/default.nix
@@ -1,5 +1,5 @@
 { lib, stdenv, fetchurl, python3, libxslt, texlive
-, enableAllFeatures ? false, imagemagick ? null, fig2dev ? null, inkscape ? null, fontconfig ? null, ghostscript ? null
+, enableAllFeatures ? false, imagemagick, fig2dev, inkscape, fontconfig, ghostscript
 
 , tex ? texlive.combine { # satisfy all packages that ./configure mentions
     inherit (texlive) scheme-basic epstopdf anysize appendix changebar
@@ -13,13 +13,6 @@
 # NOTE: enableAllFeatures just purifies the expression, it doesn't actually
 # enable any extra features.
 
-assert enableAllFeatures ->
-  imagemagick != null &&
-  fig2dev != null &&
-  inkscape != null &&
-  fontconfig != null &&
-  ghostscript != null;
-
 stdenv.mkDerivation rec {
   pname = "dblatex";
   version = "0.3.12";