unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60364: Bad definition of $TEXMF in guix shell containing texlive
@ 2022-12-27 19:56 Elias Kueny
  2023-08-27  8:50 ` bug#60364: Closing Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Elias Kueny @ 2022-12-27 19:56 UTC (permalink / raw)
  To: 60364

Hello,

In a shell environment that contains texlive instead of texlive-base, $TEXMF contains the path to texlive packages directly, indead of the path to all packages in the profile. It is a problem for packages obtained from another channel / custom package definitions, which are then not found.

> guix shell texlive -- kpsewhich -all -var-value TEXMF
> {{}/home/elias/.texlive2021/texmf-config,/home/elias/.texlive2021/texmf-var,/home/elias/texmf,/gnu/store/j63hhbhiycaab3rx4fr0g96vybdfxmax-texlive-20210325/share/texmf-local,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-config,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-var,!!/gnu/store/7binnxi4w7sxlnpns2qa4yc94bfbfkqf-texlive-texmf-20210325/share/texmf-dist}

> guix shell texlive-base -- kpsewhich -all -var-value TEXMF
> {/gnu/store/jdfsq5k23cz70p68jmiyjca2asg7r1ll-profile/share/texmf-dist}

My workaround was to set TEXMFHOME to $GUIX_ENVIRONMENT/share/texmf-dist in my (fish) shell configuration so it is expanded when entering the guix environment, but it doesn't work when running the command directly (as in guix shell texlive -- lualatex file).




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-27  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-27 19:56 bug#60364: Bad definition of $TEXMF in guix shell containing texlive Elias Kueny
2023-08-27  8:50 ` bug#60364: Closing Andreas Enge

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).