summary refs log tree commit diff
path: root/pkgs/test
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-04 20:02:26 +0000
committerVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-11-05 11:54:55 +0000
commit13cb90b5be39b6939dbb01cc6666b0f5c9daa577 (patch)
tree162b5966c5daba6084b15e9bff65c05adbd34925 /pkgs/test
parent9a5095a537c98b7c46584800c6f7ee141f9bbf78 (diff)
downloadnixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar.gz
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar.bz2
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar.lz
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar.xz
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.tar.zst
nixpkgs-13cb90b5be39b6939dbb01cc6666b0f5c9daa577.zip
tests.texlive: use texlive.pkgs.PKGNAME attribute set instead of texlive.PKGNAME.pkgs list
Diffstat (limited to 'pkgs/test')
-rw-r--r--pkgs/test/texlive/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix
index 6169de6d3d6..e4fdf91e941 100644
--- a/pkgs/test/texlive/default.nix
+++ b/pkgs/test/texlive/default.nix
@@ -211,7 +211,7 @@ rec {
   };
 
   # 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 {
       # language.def
       etex = mkTeXTest {
@@ -286,7 +286,7 @@ rec {
 
   # test that language files are generated as expected
   hyphen-base = runCommand "texlive-test-hyphen-base" {
-    hyphenBase = lib.head texlive.hyphen-base.pkgs;
+    hyphenBase = texlive.pkgs.hyphen-base;
     schemeFull = texliveFull;
     schemeInfraOnly = texliveInfraOnly;
   } ''
@@ -319,7 +319,7 @@ rec {
 
   # test that fmtutil.cnf is fully regenerated on scheme-full
   fmtutilCnf = runCommand "texlive-test-fmtutil.cnf" {
-    kpathsea = lib.head texlive.kpathsea.pkgs;
+    kpathsea = texlive.pkgs.kpathsea.tex;
     schemeFull = texliveFull;
   } ''
     mkdir -p "$out"