From: Ricardo Wurmus <rekado@elephly.net>
To: Garjola Dindi <garjola@garjola.net>
Cc: help-guix@gnu.org
Subject: Re: Packages don't get installed in the correct path
Date: Wed, 17 Mar 2021 08:49:22 +0100 [thread overview]
Message-ID: <87v99qkynx.fsf@elephly.net> (raw)
In-Reply-To: <874kha9qyb.fsf@pc-117-162.ovh.com>
Garjola Dindi <garjola@garjola.net> writes:
> On Wed 17-Mar-2021 at 07:51:18 +01, Tobias Geerinckx-Rice <me@tobias.gr>
> wrote:
>> Hi Garjola!
>>
>> Garjola Dindi 写道:
>>> I have added the following to my ~/.basrhc as indicated in the manual:
>>>
>>> ,----[ bash ]
>>> | export PATH="/home/garjola/.config/guix/current/bin${PATH:+:}$PATH"
>>
>> Which mad-Max manual indicates this? Not [my copy of] Guix's:
>>
>
> [...]
>
>
> Mine (installed in
> /gnu/store/mi10gphgjw1d....5b-guix-82a9538ea/share/info/guix.info.gz)
> says in section 5.5 Invoking ‘guix gc’:
>
> ,----
> | The result of running ‘guix pull’ is a “profile” available under
> | ‘~/.config/guix/current’ containing the latest Guix. Thus, make sure to
> | add it to the beginning of your search path so that you use the latest
> | version, and similarly for the Info manual (*note Documentation::):
> |
> | export PATH="$HOME/.config/guix/current/bin:$PATH"
> `----
That’s okay. This ensures that “guix” (provided by “guix pull”) is
available and preferred over whatever global installation of Guix there
might be (such as /usr/local/bin/guix).
>>> The most annoying thing is that the programs are not in the path
>>
>> I don't want to presume what you mean: that they're not where you
>> thought they would be (not in ~/.config/guix), or that you can't
>> actually run them (not in PATH)?
>
> They are not in PATH.
Then all you need is to add this to ~/.bash_profile
GUIX_PROFILE=$HOME/.guix-profile
source $GUIX_PROFILE/etc/profile
> It seems that there are a lot of things that I have not understood about
> how the whole thing works.
>
> I will study the manual again. Is there a way to complete remove my
> current installation so that I start with a clean slate?
I advise against it. Your problem is with variables, not with stateless
binaries in /gnu/store.
--
Ricardo
next prev parent reply other threads:[~2021-03-17 7:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 20:31 Packages don't get installed in the correct path Garjola Dindi
2021-03-17 6:51 ` Tobias Geerinckx-Rice
2021-03-17 7:31 ` Garjola Dindi
2021-03-17 7:49 ` Ricardo Wurmus [this message]
2021-03-17 9:25 ` Garjola Dindi
2021-03-17 13:22 ` Garjola Dindi
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=87v99qkynx.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=garjola@garjola.net \
--cc=help-guix@gnu.org \
/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).