Subject: bug#60364: closed (Closing)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 27 Aug 2023 08:51:02 +0000

Your bug report

#60364: Bad definition of $TEXMF in guix shell containing texlive

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60364: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60364
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Closing
From: Andreas Enge <[email-masked]>
To: [email-masked]
Date: Sun, 27 Aug 2023 10:50:27 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

the monolithic texlive package should not be mixed with additional
texlive packages. With the recent remodelling of the texlive packages,
it would be better to install something like texlive-scheme-medium
instead. Eventually we aim for reaching a metapackage for a full
texlive installation this way.

So I am closing this bug report now, please reopen it if you still
experience problems with the modular texlive system, or if I misunderstood
the problem.

Thanks for your report,

Andreas

Subject: Bad definition of $TEXMF in guix shell containing texlive
From: Elias Kueny <[email-masked]>
To: [email-masked]
Date: Tue, 27 Dec 2022 19:56:40 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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).