bug#22990: Grafts leads to inefficient substitute info retrieval

2020-03-29 Thread Ludovic Courtès
Hi younger self! l...@gnu.org (Ludovic Courtès) skribis: > As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: > > 1. Fetching substitute info about the things being built so that it > can determine its references, which in turns allows it to determine > whethe

bug#22990: Grafts leads to inefficient substitute info retrieval

2017-01-11 Thread Ludovic Courtès
David Craven skribis: >> On second thought, the whole idea of applying grafts on the final result >> (instead of applying grafts at each step like we do now) doesn’t fly. >> It works well for things like a profile or the system derivation, but >> breaks for less trivial things. > >> For example,

bug#22990: Grafts leads to inefficient substitute info retrieval

2017-01-11 Thread David Craven
> On second thought, the whole idea of applying grafts on the final result > (instead of applying grafts at each step like we do now) doesn’t fly. > It works well for things like a profile or the system derivation, but > breaks for less trivial things. > For example, if you’re building a VM image

bug#22990: Grafts leads to inefficient substitute info retrieval

2017-01-11 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > l...@gnu.org (Ludovic Courtès) skribis: > >> l...@gnu.org (Ludovic Courtès) skribis: > > [...] > >>> To achieve this, I’m thinking of extending gexp code such that gexp >>> compilers can return a list of applicable grafts. The ‘package’ >>> compiler would

bug#22990: Grafts leads to inefficient substitute info retrieval

2017-01-09 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > l...@gnu.org (Ludovic Courtès) skribis: [...] >> To achieve this, I’m thinking of extending gexp code such that gexp >> compilers can return a list of applicable grafts. The ‘package’ >> compiler would do #:graft? #f and instead let ‘gexp->derivation’ c

bug#22990: Grafts leads to inefficient substitute info retrieval

2017-01-08 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Concretely, what this means is this: > > $ guix package -u > substitute: updating list of substitutes from 'http://mirror.guixsd.org'... > 100.0% > substitute: updating list of substitutes from 'http://mirror.guixsd.org'... > 100.0% > substitute:

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-15 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2016-03-11 19:52 +0300) wrote: >>> As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: 1. Fetching substitute info about the things being built

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-15 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Alex Kost skribis: > >> Ludovic Courtès (2016-03-11 19:52 +0300) wrote: >> >>> As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: >>> >>> 1. Fetching substitute info about the things being built so that it >>> can determine

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-15 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Concretely, what this means is this: > > $ guix package -u > substitute: updating list of substitutes from 'http://mirror.guixsd.org'... > 100.0% > substitute: updating list of substitutes from 'http://mirror.guixsd.org'... > 100.0% > substitute:

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-13 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2016-03-11 19:52 +0300) wrote: > >> As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: >> >> 1. Fetching substitute info about the things being built so that it >> can determine its references, which in turns allows it to deter

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-12 Thread Alex Kost
Ludovic Courtès (2016-03-11 19:52 +0300) wrote: > As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: > > 1. Fetching substitute info about the things being built so that it > can determine its references, which in turns allows it to determine > whether they nee

bug#22990: Grafts leads to inefficient substitute info retrieval

2016-03-11 Thread Ludovic Courtès
As of right now (v0.9.0-2007-g66a30a3), ‘graft-derivation’ works either by: 1. Fetching substitute info about the things being built so that it can determine its references, which in turns allows it to determine whether they need to be grafted. 2. Building stuff, as a last resort, s