From e40614da00120861f0923733e558cea20caf6fe6 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova Date: Mon, 12 Jul 2021 20:37:51 +0100 Subject: [PATCH] tests.texlive.fmtutilCnf: init --- pkgs/test/texlive/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix index caeca4ae00c..2444334f526 100644 --- a/pkgs/test/texlive/default.nix +++ b/pkgs/test/texlive/default.nix @@ -152,4 +152,16 @@ | tee "$out/scheme-infraonly/$fname.patch" done ''; + + # test that fmtutil.cnf is fully regenerated on scheme-full + fmtutilCnf = runCommandNoCC "texlive-test-fmtutil.cnf" { + kpathsea = lib.head texlive.kpathsea.pkgs; + schemeFull = texlive.combined.scheme-full; + } '' + mkdir -p "$out" + + diff --ignore-matching-lines='^# Generated by ' -u \ + {"$kpathsea","$schemeFull"/share/texmf}/web2c/fmtutil.cnf \ + | tee "$out/fmtutil.cnf.patch" + ''; }