GNU bug report logs - #60364
Bad definition of $TEXMF in guix shell containing texlive

Previous Next

Package: guix;

Reported by: Elias Kueny <elias.kueny <at> posteo.net>

Date: Tue, 27 Dec 2022 20:32:01 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60364 in the body.
You can then email your comments to 60364 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#60364; Package guix. (Tue, 27 Dec 2022 20:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Elias Kueny <elias.kueny <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 27 Dec 2022 20:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Elias Kueny <elias.kueny <at> posteo.net>
To: bug-guix <at> gnu.org
Subject: Bad definition of $TEXMF in guix shell containing texlive
Date: Tue, 27 Dec 2022 19:56:40 +0000
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).




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Sun, 27 Aug 2023 08:51:02 GMT) Full text and rfc822 format available.

Notification sent to Elias Kueny <elias.kueny <at> posteo.net>:
bug acknowledged by developer. (Sun, 27 Aug 2023 08:51:02 GMT) Full text and rfc822 format available.

Message #10 received at 60364-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 60364-done <at> debbugs.gnu.org
Subject: Closing
Date: Sun, 27 Aug 2023 10:50:27 +0200
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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Sep 2023 11:24:16 GMT) Full text and rfc822 format available.

This bug report was last modified 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.