From: "Clément Lassieur" <clement@lassieur.org>
To: Laura Lazzati <laura.lazzati.15@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>,
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: Re: [outreach] Help trying to create R package
Date: Wed, 17 Oct 2018 19:13:28 +0200 [thread overview]
Message-ID: <87y3aw339j.fsf@lassieur.org> (raw)
In-Reply-To: <CAPNLzUM8EM2k0c2a4eOkygT4WMzuzxuGfoTj4PXNun_wODFtsg@mail.gmail.com>
Hi Laura,
Laura Lazzati <laura.lazzati.15@gmail.com> writes:
> You were right. I took a look at my .bashrc file, and I had an:
> export PATH="/home/laura/.guix-profile/bin${PATH:+:}$PATH"
> I ran $guix pull, did the PATH export in my CLI, then checked the output of
> $which guix, that was the same that was mentioned by you,
> commented that previous line in .bashrc,
> added export PATH="/home/laura/.config/guix/current/bin${PATH:+:}$PATH"
> and ran again the command to check the available R packages, made a
> diff with the previous one, and now at least r-bae appears.
You should export environment variables such as PATH in
‘~/.bash_profile’ instead of ‘~/.bashrc’. :-)
Quoting the documentation[1]:
Users sometimes wrongfully augment environment variables such as
‘PATH’ in their ‘~/.bashrc’ file. As a consequence, when ‘guix
environment’ launches it, Bash may read ‘~/.bashrc’, thereby
introducing “impurities” in these environment variables. It is an
error to define such environment variables in ‘.bashrc’; instead,
they should be defined in ‘.bash_profile’, which is sourced only by
log-in shells. See ‘Bash Startup Files[2]’, for details on Bash
start-up files.
Cheers,
Clément
[1]: https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-environment.html#FOOT15
[2]: https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html#Bash-Startup-Files
next prev parent reply other threads:[~2018-10-17 17:13 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-13 13:36 [outreach] Help trying to create R package Laura Lazzati
2018-10-13 17:58 ` Gábor Boskovits
2018-10-13 18:25 ` Catonano
2018-10-14 0:40 ` Laura Lazzati
2018-10-15 22:47 ` Laura Lazzati
2018-10-16 5:44 ` Björn Höfling
2018-10-16 6:23 ` Björn Höfling
2018-10-16 8:28 ` Gábor Boskovits
2018-10-16 13:13 ` Laura Lazzati
2018-10-16 22:18 ` Björn Höfling
2018-10-17 1:01 ` Laura Lazzati
2018-10-17 7:17 ` Björn Höfling
2018-10-17 8:21 ` Gábor Boskovits
2018-10-17 14:27 ` Laura Lazzati
2018-10-17 16:38 ` Laura Lazzati
2018-10-17 17:13 ` Clément Lassieur [this message]
2018-10-17 17:50 ` Laura Lazzati
2018-10-18 1:36 ` Laura Lazzati
2018-10-18 6:54 ` Björn Höfling
2018-10-18 7:50 ` Gábor Boskovits
2018-10-18 14:49 ` Laura Lazzati
2018-10-18 15:15 ` Gábor Boskovits
2018-10-18 15:25 ` Laura Lazzati
2018-10-18 15:40 ` Gábor Boskovits
2018-10-18 16:18 ` Laura Lazzati
2018-10-18 17:26 ` Laura Lazzati
2018-10-18 17:41 ` Björn Höfling
2018-10-18 18:14 ` Ricardo Wurmus
2018-10-18 18:17 ` Laura Lazzati
2018-10-19 1:05 ` Laura Lazzati
2018-10-19 3:47 ` Laura Lazzati
2018-10-19 6:21 ` Gábor Boskovits
2018-10-19 7:09 ` Ricardo Wurmus
2018-10-19 7:29 ` Gábor Boskovits
2018-10-19 18:37 ` Laura Lazzati
2018-10-19 18:45 ` Gábor Boskovits
2018-10-19 20:35 ` Laura Lazzati
2018-10-19 21:25 ` Gábor Boskovits
2018-10-19 23:10 ` Laura Lazzati
2018-10-20 6:08 ` Björn Höfling
2018-10-20 6:34 ` Gábor Boskovits
2018-10-20 13:47 ` Laura Lazzati
2018-10-20 14:01 ` Ludovic Courtès
2018-11-02 19:44 ` Laura Lazzati
2018-11-02 20:12 ` Gábor Boskovits
2018-11-02 20:17 ` Laura Lazzati
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=87y3aw339j.fsf@lassieur.org \
--to=clement@lassieur.org \
--cc=guix-devel@gnu.org \
--cc=laura.lazzati.15@gmail.com \
--cc=ricardo.wurmus@mdc-berlin.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.
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.