diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-11-11 17:05:52 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-11-19 09:42:13 +0900 |
| commit | aeb3e89699c27231bb98ad5c03e0a7f4be6b5f78 (patch) | |
| tree | 78cc02c47ab5afd665eec5e6ea1a0e2721f5b40b | |
| parent | b9cc5eede9d3e707412608ced7368390fe131623 (diff) | |
gnu: texlive-bin: Patch to fix non-deterministic test.
* gnu/packages/patches/texlive-bin-luaoutputdir-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/tex.scm (texlive-bin): Apply it.
Fixes: #1628
Change-Id: I3d99a033c123c35f562879ea1cccca87a7267574
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/patches/texlive-bin-luaoutputdir-test.patch | 10 | ||||
| -rw-r--r-- | gnu/packages/tex.scm | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 384176e9381..60dcacbcd3a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -2366,6 +2366,7 @@ dist_patch_DATA = \ | |||
| 2366 | %D%/packages/patches/texi2html-document-encoding.patch \ | 2366 | %D%/packages/patches/texi2html-document-encoding.patch \ |
| 2367 | %D%/packages/patches/texi2html-i18n.patch \ | 2367 | %D%/packages/patches/texi2html-i18n.patch \ |
| 2368 | %D%/packages/patches/texmacs-wayland-hidpi.patch \ | 2368 | %D%/packages/patches/texmacs-wayland-hidpi.patch \ |
| 2369 | %D%/packages/patches/texlive-bin-luaoutputdir-test.patch \ | ||
| 2369 | %D%/packages/patches/thefuck-test-environ.patch \ | 2370 | %D%/packages/patches/thefuck-test-environ.patch \ |
| 2370 | %D%/packages/patches/thefuck-remove-broken-tests.patch \ | 2371 | %D%/packages/patches/thefuck-remove-broken-tests.patch \ |
| 2371 | %D%/packages/patches/tidy-CVE-2015-5522+5523.patch \ | 2372 | %D%/packages/patches/tidy-CVE-2015-5522+5523.patch \ |
diff --git a/gnu/packages/patches/texlive-bin-luaoutputdir-test.patch b/gnu/packages/patches/texlive-bin-luaoutputdir-test.patch new file mode 100644 index 00000000000..7b4a6db8be9 --- /dev/null +++ b/gnu/packages/patches/texlive-bin-luaoutputdir-test.patch | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | Retrieved from: <https://tug.org/pipermail/tex-live/2025-September/051785.html> | ||
| 2 | |||
| 3 | --- a/texk/web2c/luatexdir/luaoutputdir.test (revision 76261) | ||
| 4 | +++ b/texk/web2c/luatexdir/luaoutputdir.test (working copy) | ||
| 5 | @@ -14,4 +14,5 @@ | ||
| 6 | outdir=tests/outdirlua | ||
| 7 | outfile=outfileLUA.tex | ||
| 8 | rm -rf $outdir # don't let previous runs interfere | ||
| 9 | +test -d tests || mkdir -p tests # ensure subdir exists | ||
| 10 | mkdir $outdir || exit 1 | ||
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index fd5b71ac398..154e913e03c 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm | |||
| @@ -826,7 +826,8 @@ and should be preferred to it whenever a package would otherwise depend on | |||
| 826 | (for-each | 826 | (for-each |
| 827 | delete-file-recursively | 827 | delete-file-recursively |
| 828 | (scandir "." (lambda (f) | 828 | (scandir "." (lambda (f) |
| 829 | (not (member f '("." ".." "texmf.cnf"))))))))))) | 829 | (not (member f '("." ".." "texmf.cnf"))))))))) |
| 830 | (patches (search-patches "texlive-bin-luaoutputdir-test.patch")))) | ||
| 830 | (build-system gnu-build-system) | 831 | (build-system gnu-build-system) |
| 831 | (arguments | 832 | (arguments |
| 832 | (list | 833 | (list |
