l...@gnu.org (Ludovic Courtès) skribis:
> The ‘wip-recursive-grafts’ branch fixes that. It also changes
> ‘graft-derivation’ to choose whether to graft something based on its
> *run-time* dependencies (as reported by ‘guix gc -R’) instead of its
> compile-time dependencies.
Merged in c22a132 and
l...@gnu.org (Ludovic Courtès) skribis:
> The grafting mechanism has a shortcoming: it is not recursive.
>
> Suppose we use ‘replace’ to provide a patch libpng. If a package has a
> direct dependency on libpng, it is appropriately grafted to refer to the
> new libpng. However, if a package depen
Mark Weaver laid out a plan that he thinks would work on IRC a couple of
years ago, and referenced it yesterday on #guix. Here it is:
https://gnunet.org/bot/log/guix/2014-09-25#T480219
Some further conversation:
https://gnunet.org/bot/log/guix/2014-10-27#T502706
The grafting mechanism has a shortcoming: it is not recursive.
Suppose we use ‘replace’ to provide a patch libpng. If a package has a
direct dependency on libpng, it is appropriately grafted to refer to the
new libpng. However, if a package depends on libfoo, which in turn
depends on libpng, the