Dear,
On Thu, 15 Oct 2020 at 18:39, Bengt Richter <bokr@bokr.com> wrote:
Toggle quote (9 lines)
>> On Thu, 15 Oct 2020 at 15:53, Bengt Richter <bokr@bokr.com> wrote:>> >> > If there is a left-over from old manual installation advice like>> > --8<---------------cut here---------------start------------->8--->> > /usr/local/bin/guix:>> > symbolic link to /var/guix/profiles/per-user/root/current-guix/bin/guix>> > --8<---------------cut here---------------end--------------->8--->> > could it interfere in any way with the above, or subsequent operation?
I do not think it interferes.
Toggle quote (5 lines)
> Yes. I didn't realize it was still there -- I may mis-remember some discussion> deprecating the use of /usr/local/* to affect the namespace seen when typing> guix whatever.> (vs putting needed info in ~/.bash_profile or ~/.profile)
I am not sure to understand what you mean. I should have missed suchdiscussions. Do you have pointers?
Toggle quote (11 lines)
> I.e., even though the target is /var/guix/... it is not by way of> ~/.guix-profile unless> that's been put first in the path via ~/.bash_profile.>> But /usr/local/bin is typically on a default PATH, so could you not> accidentally see the> wrong guix (rather than a more informative file-not-found) if the enviroment> was not> straight-forwardly inherited from a normal login? (e.g. emacs subshell pts?> Haven't checked ;)
I am sorry, I do not understand your point. On Debian, fresh user:
Toggle snippet (28 lines)
$ ls -a. .. .bash_logout .bashrc .profile$ which guix/usr/local/bin/guix$ guix pull[..]hint: Consider setting the necessary environment variables by running:
GUIX_PROFILE="/home/kikoo/.config/guix/current" . "$GUIX_PROFILE/etc/profile"
Alternately, see `guix package --search-paths -p "/home/kikoo/.config/guix/current"'.
hint: Run `guix pull --news' to read all the news.
hint: After setting `PATH', run `hash guix' to make sure your shell refers to`/home/kikoo/.config/guix/current/bin/guix'.
$ guix pull # againnothing to be done
hint: Run `guix pull --news' to read all the news.
hint: After setting `PATH', run `hash guix' to make sure your shell refers to`/home/kikoo/.config/guix/current/bin/guix'.
Is your point that:
guix install hello
will install ’hello’ from the Guix at version of ’/usr/local/bin/guix’?Well, if you see improvements in this area, please open a separatebug/whishlist report.
All the best,simon