On 19/11/2018 16.06, Clément Lassieur wrote:
If you check ~root/.config/guix/current/bin/guix, you'll see that it's
updated when you run 'guix pull' as root.  If you want that guix to be
used for your 'root' user, you just need to make sure
~root/.config/guix/current/bin/ is first in root's $PATH.

I could bet last time I checked, there was not "current", only "latest", below ~root/.config/guix, but indeed, there's a recently changed ~root/.config/guix/current/bin/guix.


If you are using Ubuntu, you don't need to use that command though, but
you need your systemd's guix-daemon to point to a recent guix.  It could
be either the one updated by root's 'guix pull', or the one updated by
your current user's 'guix pull'.  I chose the latter because I want to
run 'guix pull' only once.

You mean edit /etc/systemd/guix-daemin.service and change "/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon"?

If so, to what, as there's no guix-daemon in /var/guix/profiles/per-user/root/guix-profile/bin/.

Is the whole reason to have /usr/local/bin/guix to make guix available for root without modifying root's PATH?


Things are a bit clearer now, thanks, Clément.

--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

Reply via email to