Hello Hartmut,

Hartmut Goebel <[email protected]> writes:

> Am 26.09.2017 um 20:10 schrieb Oleg Pykhalov:
>> Adonay Felipe Nogueira <[email protected]> writes:
>>
>>> As a personal preference, I always do:
>>>
>>> # guix pull && guix package -u
>>>
>>> ... as root, and then:
>>>
>>> $ guix pull && guix package -u
>>>
>>> ... as normal user
>> I wrote a little script to not compile 2 times :-)
>
> What should be the use of pulling guix for both root and the user?

I assume it could be very useful as Ludovic mentioned in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28699 with “channels”.  So
your root could have stable channel, while your user could have bleeding
edge channel from my understanding.

> If you symlink root's `guix` into e.g. /usr/local/bin, all users can use
> root's version:
>
> ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix
> /usr/local/bin/guix
>
> This is described in
> https://www.gnu.org/software/guix/manual/guix.html#Binary-Installation
> number 6.

Nice tip, thanks.

Reply via email to