tests.texlive: use texlive.pkgs.PKGNAME attribute set instead of texlive.PKGNAME.pkgs list

This commit is contained in:
Vincenzo Mantova 2023-11-04 20:02:26 +00:00
parent 9a5095a537
commit 13cb90b5be

View File

@ -211,7 +211,7 @@ rec {
}; };
# check that all languages are available, including synonyms # check that all languages are available, including synonyms
allLanguages = let hyphenBase = lib.head texlive.hyphen-base.pkgs; texLive = texliveFull; in allLanguages = let hyphenBase = texlive.pkgs.hyphen-base; texLive = texliveFull; in
lib.recurseIntoAttrs { lib.recurseIntoAttrs {
# language.def # language.def
etex = mkTeXTest { etex = mkTeXTest {
@ -286,7 +286,7 @@ rec {
# test that language files are generated as expected # test that language files are generated as expected
hyphen-base = runCommand "texlive-test-hyphen-base" { hyphen-base = runCommand "texlive-test-hyphen-base" {
hyphenBase = lib.head texlive.hyphen-base.pkgs; hyphenBase = texlive.pkgs.hyphen-base;
schemeFull = texliveFull; schemeFull = texliveFull;
schemeInfraOnly = texliveInfraOnly; schemeInfraOnly = texliveInfraOnly;
} '' } ''
@ -319,7 +319,7 @@ rec {
# test that fmtutil.cnf is fully regenerated on scheme-full # test that fmtutil.cnf is fully regenerated on scheme-full
fmtutilCnf = runCommand "texlive-test-fmtutil.cnf" { fmtutilCnf = runCommand "texlive-test-fmtutil.cnf" {
kpathsea = lib.head texlive.kpathsea.pkgs; kpathsea = texlive.pkgs.kpathsea.tex;
schemeFull = texliveFull; schemeFull = texliveFull;
} '' } ''
mkdir -p "$out" mkdir -p "$out"