summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2023-08-26 22:12:41 +0100
committerGitHub <noreply@github.com>2023-08-26 17:12:41 -0400
commit4e49e4928d44ce1ffc9a880ec035d1441a1b7650 (patch)
treeeec59e7d2a29f5f4ffe650643a32a89657231c84 /pkgs/tools/typesetting/tex/texlive
parenta7253c72bb5254d24e401306eb3aadc581a27caa (diff)
downloadnixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar.gz
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar.bz2
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar.lz
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar.xz
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.tar.zst
nixpkgs-4e49e4928d44ce1ffc9a880ec035d1441a1b7650.zip
tests.texlive.fixedHashes: init (#248746)
The assertion that all TeX Live packages have a fixed hash is time
consuming and should only be checked when running tests.
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 9839d764adf..b382dc258e8 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -496,11 +496,7 @@ let
 
   assertions = with lib;
     assertMsg (tlpdbVersion.year == version.texliveYear) "TeX Live year in texlive does not match tlpdb.nix, refusing to evaluate" &&
-    assertMsg (tlpdbVersion.frozen == version.final) "TeX Live final status in texlive does not match tlpdb.nix, refusing to evaluate" &&
-    (!useFixedHashes ||
-      (let all = concatLists (catAttrs "pkgs" (attrValues tl));
-         fods = filter (p: isDerivation p && p.tlType != "bin") all;
-      in builtins.all (p: assertMsg (p ? outputHash) "The TeX Live package '${p.pname + lib.optionalString (p.tlType != "run") ("." + p.tlType)}' does not have a fixed output hash. Please read UPGRADING.md on how to build a new 'fixed-hashes.nix'.") fods));
+    assertMsg (tlpdbVersion.frozen == version.final) "TeX Live final status in texlive does not match tlpdb.nix, refusing to evaluate";
 
 in
   tl // {