Re: Grafts, revisited

2020-03-29 Thread Ludovic Courtès
Hello Guix! Ludovic Courtès 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

Grafts, revisited

2020-03-25 Thread Ludovic Courtès
Hello Guix! I’ve just pushed a pretty cool hack to ‘wip-build-accumulator’. :-) Grafts are a function of the references of a package. Suppose Bash has a ‘replacement’ field. If a package has a build-time dependency on Bash, it’s a candidate for being grafted the Bash replacement. However, if