On 19/11/2018 15.07, Clément Lassieur wrote:
It doesn't need to contain 'sudo' and 'root', because 'root' is just a
user, so everything works the same way.
$: which guix
/home/thorwil/.config/guix/current/bin/guix
$: sudo which guix
/usr/local/bin/guix
$ sudo -E which guix
/usr/local/bin/guix
$: sudo -i
root@charly:~# which guix
/root/.guix-profile/bin/guix
I wouldn't describe that as working the same way, especially since only
the symlinks for the plain user are being updated.
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/