From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zelphir Kaltstahl Subject: Setting environment variables (GUIX on foreign distro) Date: Sun, 5 Apr 2020 22:49:54 +0200 Message-ID: <92849722-89de-50b0-c564-239cbddb53e8@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51119) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLCDQ-0001kj-Oo for help-guix@gnu.org; Sun, 05 Apr 2020 16:50:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLCDO-0005Ur-Va for help-guix@gnu.org; Sun, 05 Apr 2020 16:49:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLCDO-0005RG-3p for help-guix@gnu.org; Sun, 05 Apr 2020 16:49:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C16DF2400FC for ; Sun, 5 Apr 2020 22:49:55 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48wQll0r7rz9rxQ for ; Sun, 5 Apr 2020 22:49:54 +0200 (CEST) Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix Hello, My question regards setting environment variables, which are considered by applications installed via GUIX on a foreign distro (Trisquel). What is the best practice to set custom environment variables? I've successfully set them in my ~/.guix-profile/etc/profile before, but there they will be overwritten when I update packages. I could not find anything about an extra file with the purpose of housing user definitions and not changing them. My scenario is, that I wish to point LyX to a non-GUIX-installed texlive distribution, which is done by setting the following environment variables: TEXMF, TEXMFCNF My texlive installation is more up to date than the one in GUIX packages, complete and I wish to use that one, instead of having GUIX point to any texlive distribution of GUIX. Regards, Zelphir