forked from mirrors/nixpkgs
tests.texlive.dvipng: apply recurseIntoAttrs
This commit is contained in:
parent
d67fc76603
commit
f674f06ac5
|
@ -1,4 +1,4 @@
|
|||
{ runCommandNoCC, fetchurl, file, texlive, writeShellScript }:
|
||||
{ lib, runCommandNoCC, fetchurl, file, texlive, writeShellScript }:
|
||||
|
||||
{
|
||||
chktex = runCommandNoCC "texlive-test-chktex" {
|
||||
|
@ -16,8 +16,9 @@
|
|||
grep "One warning printed" "$out"
|
||||
'';
|
||||
|
||||
dvipng = lib.recurseIntoAttrs {
|
||||
# https://github.com/NixOS/nixpkgs/issues/75605
|
||||
dvipng.basic = runCommandNoCC "texlive-test-dvipng-basic" {
|
||||
basic = runCommandNoCC "texlive-test-dvipng-basic" {
|
||||
nativeBuildInputs = [ file texlive.combined.scheme-medium ];
|
||||
input = fetchurl {
|
||||
name = "test_dvipng.tex";
|
||||
|
@ -39,7 +40,7 @@
|
|||
'';
|
||||
|
||||
# test dvipng's limited capability to render postscript specials via GS
|
||||
dvipng.ghostscript = runCommandNoCC "texlive-test-ghostscript" {
|
||||
ghostscript = runCommandNoCC "texlive-test-ghostscript" {
|
||||
nativeBuildInputs = [ file (with texlive; combine { inherit scheme-small dvipng; }) ];
|
||||
input = builtins.toFile "postscript-sample.tex" ''
|
||||
\documentclass{minimal}
|
||||
|
@ -77,7 +78,7 @@
|
|||
mkdir "$out"
|
||||
mv document*.png "$out"/
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/75070
|
||||
dvisvgm = runCommandNoCC "texlive-test-dvisvgm" {
|
||||
|
|
Loading…
Reference in a new issue