all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elias Kueny <elias.kueny@posteo.net>
To: 60364@debbugs.gnu.org
Subject: bug#60364: Bad definition of $TEXMF in guix shell containing texlive
Date: Tue, 27 Dec 2022 19:56:40 +0000	[thread overview]
Message-ID: <87edskziz8.fsf@posteo.net> (raw)

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	other threads:[~2022-12-27 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 19:56 Elias Kueny [this message]
2023-08-27  8:50 ` bug#60364: Closing Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edskziz8.fsf@posteo.net \
    --to=elias.kueny@posteo.net \
    --cc=60364@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.