GNU bug report logs -
#36311
doc: Add subsection and note about environment variables.
Previous Next
Reported by: swedebugia <swedebugia <at> riseup.net>
Date: Thu, 20 Jun 2019 16:18:01 UTC
Severity: normal
Tags: moreinfo
Done: Simon Tournier <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36311 in the body.
You can then email your comments to 36311 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#36311
; Package
guix-patches
.
(Thu, 20 Jun 2019 16:18:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
swedebugia <swedebugia <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 20 Jun 2019 16:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
--
Cheers Swedebugia
[0001-doc-Add-subsection-and-note-about-environment-variab.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36311
; Package
guix-patches
.
(Mon, 15 Jul 2019 11:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 36311 <at> debbugs.gnu.org (full text, mbox):
On 2019-06-20 18:13, swedebugia wrote:
>
> --
> Cheers Swedebugia
>
> 0001-doc-Add-subsection-and-note-about-environment-variab.patch
>
> From f7507682af3b4072596e36321b5ec240e7ab3a10 Mon Sep 17 00:00:00 2001
> From: swedebugia<swedebugia <at> 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.
> ---
> doc/guix.texi | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 65c3b8a7f..470157669 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -601,7 +601,9 @@ where @command{guix pull} will install updates (@pxref{Invoking guix pull}):
> ~root/.config/guix/current
> @end example
>
> -Source @file{etc/profile} to augment @code{PATH} and other relevant
> +@c This is explained further in @node Application Setup - Importance of
> +@c environment variables
> +Source @file{etc/profile} from @file{~.bash_profile} to augment @code{PATH} and other relevant
> environment variables:
>
> @example
> @@ -1575,6 +1577,20 @@ When using Guix on top of GNU/Linux distribution other than Guix System---a
> so-called @dfn{foreign distro}---a few additional steps are needed to
> get everything in place. Here are some of them.
>
> +@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).
> +
> @subsection Locales
>
> @anchor{locales-and-locpath}
> -- 2.19.2
Anyone up for reviewing?
--
Cheers
Swedebugia
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36311
; Package
guix-patches
.
(Mon, 15 Jul 2019 11:33:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 36311 <at> debbugs.gnu.org (full text, mbox):
Hello,
swedebugia <swedebugia <at> riseup.net> writes:
>> +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).
I think @file{~/.bash_profile} is clearer.
Also "ie. open up…" -> "i.e., open up…" or "i.e.@: open up…"
>> +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
Maybe @emph{every}, since emphasizing with capitals is typographically
suboptimal.
>> +(e.g. when entering a pure environment with @command{guix environment guix
>> +--pure} and contaminate the environment).
"e.g. when" -> "e.g., when" or "e.g.@: when".
See (info "Not Ending a Sentence") for more information.
Also, according to (info "@command"), it shoud be either @samp or @code.
After a cursory look, "guix.texi" seems to use "@code" for entire shell
command invocations.
HTH,
--
Nicolas Goaziou
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36311
; Package
guix-patches
.
(Mon, 15 Jul 2019 14:24:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 36311 <at> debbugs.gnu.org (full text, mbox):
Correcting myself,
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
> See (info "Not Ending a Sentence") for more information.
I meant (info "(texinfo)Not Ending a Sentence")
>
> Also, according to (info "@command")
and (info "(texinfo)@command")
Information forwarded
to
guix-patches <at> gnu.org
:
bug#36311
; Package
guix-patches
.
(Sat, 02 Sep 2023 03:03:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 36311 <at> debbugs.gnu.org (full text, mbox):
Hello,
swedebugia <swedebugia <at> riseup.net> writes:
> --
> Cheers Swedebugia
>
>>From f7507682af3b4072596e36321b5ec240e7ab3a10 Mon Sep 17 00:00:00 2001
> From: swedebugia <swedebugia <at> 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
Added tag(s) moreinfo.
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 02 Sep 2023 03:03:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Simon Tournier <zimon.toutoune <at> gmail.com>
:
You have taken responsibility.
(Fri, 21 Feb 2025 22:17:09 GMT)
Full text and
rfc822 format available.
Notification sent
to
swedebugia <swedebugia <at> riseup.net>
:
bug acknowledged by developer.
(Fri, 21 Feb 2025 22:17:10 GMT)
Full text and
rfc822 format available.
Message #24 received at 36311-done <at> debbugs.gnu.org (full text, mbox):
Hi,
For reference: https://issues.guix.gnu.org/issue/36311
On Fri, 01 Sep 2023 at 23:02, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>> From: swedebugia <swedebugia <at> 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?
This question is still pending since 1 year, 24 weeks, 5 days… Too much
suspense! ;-)
I’m closing. Feel free to reopen if I’m missing something.
Cheers,
simon
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 22 Mar 2025 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.