diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-11 18:24:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-11 19:05:05 +0200 |
commit | 03a70e4c190420e87c0b535285caf8f77260d4ff (patch) | |
tree | dbf3f3952af4990b959e048b1ae2766c1fc83ffa /gnu/packages/groff.scm | |
parent | cbd9581acc41cd49eb81c2432452cad4de805cbd (diff) |
packages: 'package-grafts' returns grafts for all the relevant outputs.
Fixes <https://bugs.gnu.org/41796>.
Reported by Jakub Kądziołka <kuba@kadziolka.net>.
* guix/packages.scm (input-graft): Add 'output' parameter and honor it.
Add OUTPUT to the cache key.
(input-cross-graft): Likewise.
(fold-bag-dependencies): Operate on inputs instead of nodes. Turn
VISITED into a vhash instead of a set. Pass PROC HEAD and OUTPUT
instead of just HEAD.
(bag-grafts): Adjust accordingly.
* tests/packages.scm ("package-grafts, dependency on several outputs"):
New test.
Diffstat (limited to 'gnu/packages/groff.scm')
0 files changed, 0 insertions, 0 deletions