Re: Should I upgrade root user's guix too?

2017-10-05 Thread Oleg Pykhalov
Hello Hartmut, Hartmut Goebel writes: > Am 26.09.2017 um 20:10 schrieb Oleg Pykhalov: >> Adonay Felipe Nogueira writes: >> >>> As a personal preference, I always do: >>> >>> # guix pull && guix package -u >>> >>> ... as root, and then: >>>

Re: Should I upgrade root user's guix too?

2017-10-05 Thread Hartmut Goebel
Am 26.09.2017 um 20:10 schrieb Oleg Pykhalov: > Adonay Felipe Nogueira 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

Re: Should I upgrade root user's guix too?

2017-09-29 Thread Attic Hermit
> I got this idea after reading ‘(guix) Invoking guix pull’. > > (1) Under the hood, ‘guix pull’ updates the ‘~/.config/guix/latest’ > symbolic link to point to the latest Guix, and the ‘guix’ command > loads code from there. Currently, the only way to roll back an > invocation

Re: Should I upgrade root user's guix too?

2017-09-29 Thread Oleg Pykhalov
Hello Attic, Attic Hermit writes: > Attic Hermit writes: > >>> #!/bin/sh >>> GUIX_LATEST=/root/.config/guix/latest >>> unlink $GUIX_LATEST && ln -s $(readlink $HOME/.config/guix/latest) >>> $GUIX_LATEST > > To be sure your tip, I read the part of source code of

Re: Should I upgrade root user's guix too?

2017-09-26 Thread Attic Hermit
Attic Hermit writes: >> #!/bin/sh >> GUIX_LATEST=/root/.config/guix/latest >> unlink $GUIX_LATEST && ln -s $(readlink $HOME/.config/guix/latest) >> $GUIX_LATEST To be sure your tip, I read the part of source code of guix pull and try to understand what it really do:

Re: Should I upgrade root user's guix too?

2017-09-26 Thread Attic Hermit
Oleg Pykhalov writes: > #!/bin/sh > GUIX_LATEST=/root/.config/guix/latest > unlink $GUIX_LATEST && ln -s $(readlink $HOME/.config/guix/latest) > $GUIX_LATEST Nice tip. I've been annoyed about the fact that root compiles almost same definitions once again after a non-priv

Re: Should I upgrade root user's guix too?

2017-09-26 Thread Oleg Pykhalov
Adonay Felipe Nogueira 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 :-) After running "guix pull"

Re: Should I upgrade root user's guix too?

2017-09-25 Thread Chris Marusich
Quiliro Ordonez Baca writes: > Very nice thread: very descriptive and enlighting. Thank you. > > I have just one question: In GuixSD, the root user needs updating for the > Guix-daemon to update as you say is needed on a foreign distro? Basically, yes, on a foreign distro,

Re: Should I upgrade root user's guix too?

2017-09-24 Thread Quiliro Ordonez Baca
Adonay Felipe Nogueira writes: > I think root profile doesn't have 0 (zero) packages installed. It has > guix. ;) > > As a personal preference, I always do: > > # guix pull && guix package -u > > ... as root, and then: > > $ guix pull && guix package -u > > ... as normal

Re: Should I upgrade root user's guix too?

2017-09-23 Thread Adonay Felipe Nogueira
I think root profile doesn't have 0 (zero) packages installed. It has guix. ;) As a personal preference, I always do: # guix pull && guix package -u ... as root, and then: $ guix pull && guix package -u ... as normal user Chris Marusich writes: > > I see. I

Re: Should I upgrade root user's guix too?

2017-09-23 Thread Attic Hermit
> When alice invokes the guix command to install the hello package, the > guix command essentially translates the package definition into a > derivation, and then asks the guix-daemon (via remote procedure calls) > to build that derivation. > guix-daemon has no knowledge of the "package"

Re: Should I upgrade root user's guix too?

2017-09-23 Thread Chris Marusich
Attic Hermit writes: > I use Guix, but not GuixSD, only on the non-privileged user and there's > no package installed but guix on the root user. I see. I incorrectly assumed you were using GuixSD. It sounds like you've followed the steps described in the manual under "(guix)

Re: Should I upgrade root user's guix too?

2017-09-23 Thread Attic Hermit
Thanks for your reply. > You should run "guix pull" for both root and your non-privileged > user(s). The version of Guix deployed for root is the version of Guix > that will be used when running commands like "guix system reconfigure" > as root. If you don't do "guix pull" as root, then

Re: Should I upgrade root user's guix too?

2017-09-23 Thread Chris Marusich
Attic Hermit writes: > I use guix for using the softwares that Parabola GNU+Linux doesn't > provide. Everything works great, but I have a question on the upgrade of > guix itself. > > I regularly do `guix pull && guix package -u` in my default user, but I > rarely do it in root