tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz
This commit is contained in:
parent
76e92ae984
commit
1f2ad5bcd4
2 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,15 @@
|
|||
|
||||
{
|
||||
|
||||
tlpdb-nix = runCommand "texlive-test-tlpdb-nix" {
|
||||
nixpkgsTlpdbNix = ../../tools/typesetting/tex/texlive/tlpdb.nix;
|
||||
tlpdbNix = texlive.tlpdb-nix;
|
||||
}
|
||||
''
|
||||
mkdir -p "$out"
|
||||
diff -u "''${nixpkgsTlpdbNix}" "''${tlpdbNix}" | tee "$out/tlpdb.nix.patch"
|
||||
'';
|
||||
|
||||
luaotfload-fonts = runCommand "texlive-test-lualatex" {
|
||||
nativeBuildInputs = [
|
||||
(with texlive; combine { inherit scheme-medium libertinus-fonts; })
|
||||
|
|
|
@ -56,6 +56,8 @@ This will download the daily snapshot of the CTAN package database
|
|||
numbers and sha512 hashes) for the selected upstream distribution. Then replace
|
||||
`tlpdb.nix` with the generated file.
|
||||
|
||||
The test `pkgs.tests.texlive.tlpdb-nix` verifies that the file `tlpdb.nix`
|
||||
in Nixpkgs matches the one that generated from `texlive.tlpdb.xz`.
|
||||
|
||||
### Build packages locally and generate fix hashes
|
||||
|
||||
|
|
Loading…
Reference in a new issue