[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should I upgrade root user's guix too?
From: |
Oleg Pykhalov |
Subject: |
Re: Should I upgrade root user's guix too? |
Date: |
Fri, 06 Oct 2017 08:36:30 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) |
Hello Hartmut,
Hartmut Goebel <address@hidden> writes:
> Am 26.09.2017 um 20:10 schrieb Oleg Pykhalov:
>> Adonay Felipe Nogueira <address@hidden> 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.