On 19/11/2018 11.20, Clément Lassieur wrote:
This is because the result of running guix pull is a profile available
under ~/.config/guix/current containing the latest Guix[1].
So you may need to make sure it is at the beginning of your search path.
Thanks, but the plain user `guix pull` works fine and
~/.config/guix/current is up-to-date.
[1]:
https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-pull.html
I note that this page doesn't contain "sudo" at all and "root" only
once, in "For instance, when user root runs guix pull, this has no
effect on the version of Guix that user alice sees, and vice versa.".
Thorsten Wilms <[email protected]> writes:
I tried all of these, each time with
--commit=0a41123f01d5d2466d6f533be3644ac8c9a2bdf9:
sudo guix pull
sudo -i guix pull
sudo -E
guix pull
None of these changed what /usr/local/bin/guix and/or
/root/.guix-profile/bin/guix are pointing to.
I mixed -i and -E up, it was of course
sudo -E guix pull
sudo -i
guix pull
That is, first attempt with -E, same as --preserve-env, then sudo -i to
log into root before `guix pull`.
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/