From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Mx3lJVxWq2MDzQAAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 21:32:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oIwiJFxWq2OucwEAG6o9tA (envelope-from ) for ; Tue, 27 Dec 2022 21:32:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5061E2DDF4 for ; Tue, 27 Dec 2022 21:32:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAGcI-0006sl-Fr; Tue, 27 Dec 2022 15:32:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAGcH-0006sX-FO for bug-guix@gnu.org; Tue, 27 Dec 2022 15:32:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAGcE-0002jz-Ay for bug-guix@gnu.org; Tue, 27 Dec 2022 15:32:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAGcD-0006WI-PY for bug-guix@gnu.org; Tue, 27 Dec 2022 15:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60364: Bad definition of $TEXMF in guix shell containing texlive Resent-From: Elias Kueny Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 27 Dec 2022 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60364 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 60364@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167217312025051 (code B ref -1); Tue, 27 Dec 2022 20:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 20:32:00 +0000 Received: from localhost ([127.0.0.1]:56554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGcB-0006Vz-LP for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:33240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAGc9-0006Vq-1S for submit@debbugs.gnu.org; Tue, 27 Dec 2022 15:31:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAGc5-0006rs-BH for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:55 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAGbv-0002eJ-OK for bug-guix@gnu.org; Tue, 27 Dec 2022 15:31:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BEFFC2402E1 for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672173100; bh=cjW6VhGmx9YZEfKYfPsIyuiIRU88VQb8B/euf/LNRVA=; h=From:To:Subject:Date:From; b=emKYbzZ3qFjX8Tcw9P5LaZk3QIeNXyuWWqmjNcwxte28QayLmQG3aXCUfF7Mtvi+O jNvAyauQf/c6TBzLlth057GsQeudcZW8/JRj3pohYBBxqSzWA9AVZeVNMUgmDOYVV+ j4MSLYmy4g9neKBwiQNaLQu1Ft37Xh2D2WICH7AirY2la49KGh2rG+MXmLMMo/SDLd HFdWfKXOku/+cMiM/3NNZGPT7W9ctGTDX/C0r/k9WJDL/TNEGlL/X/vUs8tRW33fKv QnQbVTQQ9MDusMjH79eNPsTkD2hRTQE7Zgi8KIBsYi/V8KBuxPJ/AiNeeFeI+5DsWs MudfcaJltLvCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NhRC02LqCz6tmH for ; Tue, 27 Dec 2022 21:31:40 +0100 (CET) From: Elias Kueny Date: Tue, 27 Dec 2022 19:56:40 +0000 Message-ID: <87edskziz8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=185.67.36.66; envelope-from=elias.kueny@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672173148; a=rsa-sha256; cv=none; b=I3erj7nQWu2lnd35A8rhm+9O3Lcu5e9f4/t3mlvU+z3pzvyzIu2JG5F7T4jYqMm7ZkwXg5 piIKBFXcyPmzCc8PnsYI90iU67fcsMm4RpmX8Y7dToZqrT+XMN0JAOjLgF52xWEmblXOrw t26Xy9nQapJCMiM6eywT3ru/WpURbh7Y9tzCmiUaepfU/o2A14tjwN8LNvoRsDouryvW+V pluB4z9QtbfuVX1VPlSb9i2Ed+NYbnHIfKTbtndLyvdRnWxdHwaKuqzIXSQtHzGvy56mYq 3+yjZF2O5VJNZOJzvGJWScwZR8PiTM/EWNaqg6B9eIzYEStvpZy3UvogFngGrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=emKYbzZ3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672173148; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=cjW6VhGmx9YZEfKYfPsIyuiIRU88VQb8B/euf/LNRVA=; b=ZJ90PcegjT3WkCZDPW1NPEopkLFOs2jPOB7HTRuaqhnWO/MgOfjyC1nsALfWQ0/02rkCVE Y8WC1XbxxAnvdth68c7jL1fz3WCVVtAdCMh1RzNfGsZtYD6LnQ5msKEViXaTPwnKN2jgbd GVnxshUf8tOTQ7pfURVdGqNHl0bEO1UhNOUzMVmjk0oQLlT6lBiqJ/gDyzfQWU7yWZWAvG LESEUaBjWopl5FbE3sll5JMiw4Blsi8S39o0x6eOdlbdML7b4Kzw6M459V3DQWHxDlbgq9 Xh0wVDkjkQTIEEBXKjZOT1d4tU7XTX/Y+W1z45MwdLUHRwiZcrvhnWijkG+OZw== X-Spam-Score: -0.73 X-Migadu-Queue-Id: 5061E2DDF4 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=emKYbzZ3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.73 X-TUID: zkXHk45jpuiT 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).