guix-devel
[Top][All Lists]
Advanced

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

Re: Grafts, revisited


From: Ludovic Courtès
Subject: Re: Grafts, revisited
Date: Sun, 29 Mar 2020 17:12:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello Guix!

Ludovic Courtès <address@hidden> skribis:

> To address that, I think we need a better way to handle “dynamic
> dependencies”.  The ‘wip-build-accumulator’ branch does that by taking
> advantage of ‘with-build-handler’.  On that branch, grafts no longer use
> substitute info.  Instead, they just build missing store items and get
> their references.  To avoid building things one by one, we install a
> build handler that “accumulates” the list of ‘build-things’ requests;
> eventually, we build all these things at once and resume the
> continuations of the ‘build-things’ calls.  The goal here is to improve
> efficiency and to allow the UI to shows these stages in a meaningful
> way.  Here’s a sample session (slightly edited for clarity)

I went ahead and merged ‘wip-build-accumulator’ in master because it’s
better than the status quo.  This fixes this 3.5-year old bug:

  https://issues.guix.gnu.org/issue/22990

Woohoo!

If anything looks wrong or otherwise “weird”, please report a bug!
If you feel happier with this change, enjoy!  :-)

Ludo’.



reply via email to

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