help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix pull; guix package -u; sudo guix system reconfigure /etc/config


From: raingloom
Subject: Re: guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm
Date: Thu, 28 Apr 2022 01:18:02 +0200

(reply is at bottom)

On Wed, 27 Apr 2022 21:29:54 +0000
Cássio Tavares <cassio.ufg@gmail.com> wrote:

> On Fri, Apr 8, 2022 at 2:40 AM raingloom <raingloom@riseup.net> wrote:
> 
> > On Thu,  7 Apr 2022 20:40:07 +0000
> > Gottfried <gottfried@posteo.de> wrote:
> >  
> > > As I understood I should do a "guix pull" every week.
> > >
> > > But what is with "guix package -u"
> > > When I did it two days ago it took 6 hours. I couldn't swich off
> > > my laptop. So I can do it only when having a lot of time.
> > > Normally it took approx. 30 min
> > > If I don't need always the latest version, I can do it once a
> > > month or once in two month
> > > Is that okay?  
> >
> > I'd recommend just skipping the few packages that take too long to
> > build.
> > Before upgrading, run guix package --upgrade --dry-run, and see what
> > would be downloaded and what would be built locally.
> > If there is something too large there, use the --do-not-upgrade
> > flag. It can be given multiple times.
> >
> > Also sometimes the reason something is built locally is because its
> > derivation failed on the substitute server, and I think it kinda
> > sucks that the user doesn't get warned about that, because building
> > half of Firefox just to see it fail with the same error message as
> > it did on the server is a huge waste of electricity, and also my
> > time. 
> > > Do I have to do a "sudo guix system reconfigure /etc/config.scm"
> > > always after the "guix package -u"?
> > > Can I do it every month or every second month? when I don't need
> > > the latest version of packages?
> > >
> > > Gottfried
> > >  
> >
> > I solve the latter by having a very lean system profile, only the
> > bare essentials are installed for the whole system, things like the
> > window manager are only in my user profile.
> >
> >  
> If your window manager is only in your profile, then it won't be
> available for the display manager's login. Is there a workaround for
> that? Cássio
> -----
> Faculdade de Letras - UFG
> *“*
> *Ou a gente se Raôni, ou a gente se Sting**”*
> 
> 

Possibly. This might be a good starting point:
https://wiki.archlinux.org/title/Display_manager#Session_configuration
That requires a modification to /usr, which seems like a bad idea.
Maybe someone else can figure out the details, I don't have time to do
a deep dive right now.


Sorry for editing your reply, but as the old joke goes:

Because it's messing up the reading order.
>Why?
>>Please stop top-posting.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]