all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: swedebugia <swedebugia@riseup.net>
Cc: Nicolas Goaziou <mail@nicolasgoaziou.fr>, 36311@debbugs.gnu.org
Subject: [bug#36311] doc: Add subsection and note about environment variables.
Date: Fri, 01 Sep 2023 23:02:14 -0400	[thread overview]
Message-ID: <8734zx1dmx.fsf@gmail.com> (raw)
In-Reply-To: <d564fea7-f3a5-3798-c186-a66c4c23f7a1@riseup.net> (swedebugia@riseup.net's message of "Thu, 20 Jun 2019 18:13:55 +0200")

Hello,

swedebugia <swedebugia@riseup.net> writes:

> -- 
> Cheers Swedebugia
>
>>From f7507682af3b4072596e36321b5ec240e7ab3a10 Mon Sep 17 00:00:00 2001
> From: swedebugia <swedebugia@riseup.net>
> Date: Thu, 20 Jun 2019 18:02:16 +0200
> Subject: [PATCH] doc: Add subsection and note about environment variables.
>
> * doc/guix.texi (Binary Installation and Application Setup): Clarify the
>   importance of correct environment variables.

[...]

> +@subsection Importance of environment variables
> +@cindex environment variables
> +Environment variables in the correct place are essential to the correct
> +operation of guix in a foreign system.
> +
> +Following the installation we recommend putting all environment variables into
> + @file{~.bash_profile} to make sure they are only executed when your login to
> + a shell (ie. open up a virtual terminal).
> +
> +If you use bash and put them into @file{.bashrc} you will end up with errors
> +because this file is executed by bash EVERY time a new environment is entered
> +(e.g. when entering a pure environment with @command{guix environment guix
> +--pure} and contaminate the environment).

I think this is maybe no longer as necessary, since we now have 'guix
shell --check' that will produce this kind of recommendation?

-- 
Thanks,
Maxim




      parent reply	other threads:[~2023-09-02  3:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20 16:13 [bug#36311] doc: Add subsection and note about environment variables swedebugia
2019-07-15 11:01 ` swedebugia
2019-07-15 11:32   ` Nicolas Goaziou
2019-07-15 14:22     ` Nicolas Goaziou
2023-09-02  3:02 ` Maxim Cournoyer [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

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

  git send-email \
    --in-reply-to=8734zx1dmx.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=36311@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=swedebugia@riseup.net \
    /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.