Hello, When multiple packages contribute to GUIX_TEXMF, kpathsea fails to locate files because GUIX_TEXMF is expanded as-is inside brace expressions in texmf.cnf, using colon as separator, while kpathsea expects commas inside braces.
In texlive-libkpathsea, the customize-texmf.cnf phase sets:
TEXMFDIST = {$GUIX_TEXMF}
When GUIX_TEXMF contains multiple paths (e.g. after installing gnuplot
which also contributes to GUIX_TEXMF via its native-search-paths), the
result is:
TEXMFDIST =
{/store/texlive-.../share/texmf-dist:/store/gnuplot-.../share/texmf-dist}
But kpathsea expects commas inside braces:
TEXMFDIST =
{/store/texlive-.../share/texmf-dist,/store/gnuplot-.../share/texmf-dist}
This was revealed by the patch adding GUIX_TEXMF to gnuplot (see MR:
https://codeberg.org/o_blacksad/guix/pulls/...).
Tested with:
guix shell gnuplot texlive-bin -- kpsewhich gnuplot-lua-tikz.sty
→ returns empty (file not found)
System information:
Génération 477 14 mai 2026 22:32:49 (actuelle)
nonguix 5f2630e
URL du dépôt : https://gitlab.com/nonguix/nonguix
branche : master
commit : 5f2630e69fbbe9e79c350a67545f0fef7e93e223
edix 8f6ac45
URL du dépôt : https://gitlab.univ-lorraine.fr/farges1/edix-channel.git
branche : master
commit : 8f6ac45922ea7a2916122221055eeed5e42c6058
farges ede6804
URL du dépôt : https://gitlab.univ-lorraine.fr/farges1/farges-channel.git
branche : master
commit : ede68040da22063a6d5a15e92fd1ae6f23a55ab0
guix ad9827a
URL du dépôt : https://git.guix.gnu.org/guix.git
branche : master
commit : ad9827a42014db631e6001015b3ba7fbc1cd3927
guix (GNU Guix) ad9827a42014db631e6001015b3ba7fbc1cd3927
--
Olivier Farges
Maitre de conférence HDR
Directeur des partenariats industriels ENSGSI
LEMTA - UMR 7563 (CNRS – Université de Lorraine)
tel : +33 3 72 74 42 69 / +33 6 81 37 28 67
mel : [email protected]
signature.asc
Description: PGP signature
