diff options
author | Ludovic Courtès <ludo@gnu.org> | 2025-01-28 14:53:03 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-01-28 14:56:14 +0100 |
commit | 28e4018e59d30efb3d52aa950ce2261f11b69b33 (patch) | |
tree | 882e8f39932fcdc1e6414b3b17e3bea30b6b5e8e /gnu/packages/python-science.scm | |
parent | 3ad2d21671ad56e61c779da253d4396435658198 (diff) |
grafts: Allow file-like objects in the ‘replacement’ field of <graft>.
This is a followup to and simplification of
3331d675fbf5287e8cbe12af48fb2de14f1ad8bc.
* guix/grafts.scm (graft-derivation/shallow)[mapping]: Wrap origin and
replacement in ‘with-parameters’.
(cumulative-grafts)[finalize-graft]: Remove, and remove its sole user.
* guix/packages.scm (input-graft, input-cross-graft): Add ‘replacement’
straight into the ‘replacement’ field of <graft>.
* tests/packages.scm ("package-grafts, indirect grafts")
("package-grafts, indirect grafts, propagated inputs")
("package-grafts, same replacement twice")
("package-grafts, dependency on several outputs")
("replacement also grafted"): Adjust accordingly.
Suggested-by: David Elsing <david.elsing@posteo.net>
Change-Id: I286fceae53df9d3051137bbca5f944d51d0c92f3
Diffstat (limited to 'gnu/packages/python-science.scm')
0 files changed, 0 insertions, 0 deletions