I'd just like to add that if a user has guix installed for root but only
really keeps their user's guix up to date (I imagine a fairly common
situation), they're in for a weird situation when using sudo: a
bleeding-edge guix will complain about being outdated, since sudo (even
with -E) sets $USER, which is used to determine which file's timestamp
should be used for deciding whether the installed guix is outdated.
Basically, your shiny new guix warns you that someone else's dirty old guix
is old.

On Fri, Jan 18, 2019 at 7:31 AM Ricardo Wurmus <rek...@elephly.net> wrote:

>
> Giovanni Biscuolo <g...@xelera.eu> writes:
>
> > IMHO it should be explicitly stated that in general it's not
> > advised/needed to install guix for the root user and that "guix system"
> > must be run as a normal user via sudo (and the user must be allowed to
> > do so by root via sudoers); then the example above
>
> Currently, installing Guix for the root user is what the installer
> script does and what the instructions for the binary installation method
> suggest.
>
> --
> Ricardo
>
>
>

Reply via email to