summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-06-23 22:16:37 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-06-23 22:18:54 -0400
commit53d6abc682bd46e0a823c30e0219101464cb927b (patch)
treea36865fe817eef28d03f680e7fa3b42a19a80204 /pkgs/test
parent6d56f95424734f277655570bc0a98a2bdb89cf7b (diff)
downloadnixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar.gz
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar.bz2
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar.lz
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar.xz
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.tar.zst
nixpkgs-53d6abc682bd46e0a823c30e0219101464cb927b.zip
tests.texlive.texdoc: init
Diffstat (limited to 'pkgs/test')
-rw-r--r--pkgs/test/texlive/default.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix
index d8420d99136..86c0a7f795b 100644
--- a/pkgs/test/texlive/default.nix
+++ b/pkgs/test/texlive/default.nix
@@ -105,4 +105,18 @@
     mkdir "$out"
     mv document*.svg "$out"/
   '';
+
+  texdoc = runCommandNoCC "texlive-test-texdoc" {
+    nativeBuildInputs = [
+      (with texlive; combine {
+        inherit scheme-infraonly luatex texdoc;
+        pkgFilter = pkg: lib.elem pkg.tlType [ "run" "bin" "doc" ];
+      })
+    ];
+  } ''
+    texdoc --version
+
+    texdoc --debug --list texdoc | tee "$out"
+    grep texdoc.pdf "$out"
+  '';
 }