unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Setting environment variables (GUIX on foreign distro)
Date: Tue, 7 Apr 2020 19:45:39 -0400	[thread overview]
Message-ID: <20200407234539.GA1796@jasmine.lan> (raw)
In-Reply-To: <97a2ea98-1537-fd29-d38b-372c59a20ffb@posteo.de>

On Wed, Apr 08, 2020 at 01:14:40AM +0200, Zelphir Kaltstahl wrote:
> 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?

Check the Bash man page, section INVOCATION, and then FILES. That
explains what files are used and in what situations.

In short, ~/.profile or ~/.bash_profile should both work. Remember, they
are for login shells, so you need to log in again to see the effect.

      reply	other threads:[~2020-04-07 23:45 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
2020-04-07 23:45     ` Leo Famulari [this message]

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=20200407234539.GA1796@jasmine.lan \
    --to=leo@famulari.name \
    --cc=help-guix@gnu.org \
    --cc=zelphirkaltstahl@posteo.de \
    /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).