unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Leo Famulari <leo@famulari.name>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Setting environment variables (GUIX on foreign distro)
Date: Wed, 8 Apr 2020 01:14:40 +0200	[thread overview]
Message-ID: <97a2ea98-1537-fd29-d38b-372c59a20ffb@posteo.de> (raw)
In-Reply-To: <20200406171123.GA32159@jasmine.lan>

I already set them in my ~/.profile, but that does not seem to work, as
they are not seen when starting LyX (or perhaps any GUIX installed
app?). Would setting them in ~/.bash_profile work? I thought that
~/.profile is loaded on login. I also need the variables to be visible,
when I click a launcher for example, so not only when I open a terminal.
Not sure bash_profile would be considered in that case?

I need to try this. Thanks so far!

On 4/6/20 7:11 PM, Leo Famulari wrote:
> On Sun, Apr 05, 2020 at 10:49:54PM +0200, Zelphir Kaltstahl wrote:
>> 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?
> You should set them in the typical way for your operating system and
> shell. In general, you should do it in the initialization files for
> login shells. If you are using Bash, use ~/.bash_profile.

  parent reply	other threads:[~2020-04-07 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 20:49 Setting environment variables (GUIX on foreign distro) Zelphir Kaltstahl
2020-04-06 17:11 ` Leo Famulari
2020-04-07 14:27   ` Joshua Branson
2020-04-07 23:14   ` Zelphir Kaltstahl [this message]
2020-04-07 23:45     ` Leo Famulari

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=97a2ea98-1537-fd29-d38b-372c59a20ffb@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=leo@famulari.name \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).