* what does this mean??
@ 2020-01-15 21:55 wisdomlight--- via
2020-01-15 22:09 ` Ricardo Wurmus
2020-01-16 16:25 ` zimoun
0 siblings, 2 replies; 3+ messages in thread
From: wisdomlight--- via @ 2020-01-15 21:55 UTC (permalink / raw)
To: help-guix@gnu.org
after my first guix pull
this came:
> hint: After setting `PATH', run `hash guix' to make sure your shell refers to
> `/home/sherab/.config/guix/current/bin/guix'.
what PATH do i need to set?
How?
How do I make sure the shell refers to ´/home/sherab/.config/guix/current/bin/guix ´ ??
Thanks
Sherab
Just like an experience in a dream
Everything I now enjoy
Will become a mere recollection
For what has past will not be seen again
Sent from [ProtonMail](https://protonmail.ch), encrypted email based in Switzerland.
Sent with [ProtonMail](https://protonmail.com) Secure Email.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: what does this mean??
2020-01-15 21:55 what does this mean?? wisdomlight--- via
@ 2020-01-15 22:09 ` Ricardo Wurmus
2020-01-16 16:25 ` zimoun
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2020-01-15 22:09 UTC (permalink / raw)
To: wisdomlight; +Cc: help-guix@gnu.org
wisdomlight--- via <help-guix@gnu.org> writes:
> after my first guix pull
> this came:
>
>> hint: After setting `PATH', run `hash guix' to make sure your shell refers to
>> `/home/sherab/.config/guix/current/bin/guix'.
>
> what PATH do i need to set?
You need to make sure that /home/sherab/.config/guix/current/bin comes
first in the list of directories in the PATH variable.
> How?
By adding something like this to your /etc/profile or ~/.bash_profile
file:
export PATH="$HOME/.config/guix/current/bin:$PATH"
If you are using Guix System you don’t need to do anything.
> How do I make sure the shell refers to
> ´/home/sherab/.config/guix/current/bin/guix ´ ??
You should run “hash guix” as the message says, and then you can run
“type guix” to confirm that the command “guix” resolves to the
executable at “/home/sherab/.config/guix/current/bin/guix”.
--
Ricardo
PS: please keep the mailing list in Cc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: what does this mean??
2020-01-15 21:55 what does this mean?? wisdomlight--- via
2020-01-15 22:09 ` Ricardo Wurmus
@ 2020-01-16 16:25 ` zimoun
1 sibling, 0 replies; 3+ messages in thread
From: zimoun @ 2020-01-16 16:25 UTC (permalink / raw)
To: wisdomlight; +Cc: help-guix@gnu.org
Hi Sherab,
On Wed, 15 Jan 2020 at 22:55, wisdomlight--- via <help-guix@gnu.org> wrote:
> what PATH do i need to set?
> How?
> How do I make sure the shell refers to ´/home/sherab/.config/guix/current/bin/guix ´ ??
You need to do the hint. :-)
Then for example, at the bottom of my ~/.basrc file, I have these lines:
--8<---------------cut here---------------start------------->8---
if [ -n "$GUIX_ENVIRONMENT" ]
then
export PS1="\n[env]\n\w/\n\u@\h$ "
else
source ~/.bash_profile
fi
--8<---------------cut here---------------end--------------->8---
And my ~/.bash_profile contains at least:
--8<---------------cut here---------------start------------->8---
export PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH"
# the latest version lives there
# needs to be first in the PATH
export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
export INFOPATH="$HOME/.guix-profile/share/info${INFOPATH:+:}$INFOPATH"
export INFOPATH="$HOME/.config/guix/current/share/info${INFOPATH:+:}$INFOPATH"
export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
#export LOCPATH=$HOME/.guix-profile/lib/locale
# from: https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#set-locale
#export LC_ALL=en_GB.UTF-8 # locale fix?
export LANG=en_GB.UTF-8 # locale fix
--8<---------------cut here---------------end--------------->8---
Hope that helps.
simon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-16 16:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-15 21:55 what does this mean?? wisdomlight--- via
2020-01-15 22:09 ` Ricardo Wurmus
2020-01-16 16:25 ` zimoun
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.