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" {
|
chktex = runCommandNoCC "texlive-test-chktex" {
|
||||||
@ -16,8 +16,9 @@
|
|||||||
grep "One warning printed" "$out"
|
grep "One warning printed" "$out"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dvipng = lib.recurseIntoAttrs {
|
||||||
# https://github.com/NixOS/nixpkgs/issues/75605
|
# 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 ];
|
nativeBuildInputs = [ file texlive.combined.scheme-medium ];
|
||||||
input = fetchurl {
|
input = fetchurl {
|
||||||
name = "test_dvipng.tex";
|
name = "test_dvipng.tex";
|
||||||
@ -39,7 +40,7 @@
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# test dvipng's limited capability to render postscript specials via GS
|
# 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; }) ];
|
nativeBuildInputs = [ file (with texlive; combine { inherit scheme-small dvipng; }) ];
|
||||||
input = builtins.toFile "postscript-sample.tex" ''
|
input = builtins.toFile "postscript-sample.tex" ''
|
||||||
\documentclass{minimal}
|
\documentclass{minimal}
|
||||||
@ -77,7 +78,7 @@
|
|||||||
mkdir "$out"
|
mkdir "$out"
|
||||||
mv document*.png "$out"/
|
mv document*.png "$out"/
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/75070
|
# https://github.com/NixOS/nixpkgs/issues/75070
|
||||||
dvisvgm = runCommandNoCC "texlive-test-dvisvgm" {
|
dvisvgm = runCommandNoCC "texlive-test-dvisvgm" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user