summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Elsing <[email protected]>2024-06-05 21:51:42 +0000
committerLudovic Courtès <[email protected]>2025-01-19 00:39:17 +0100
commit3331d675fbf5287e8cbe12af48fb2de14f1ad8bc (patch)
treee20a3493ae37764ba0e62c4d99639b9bdd692a99 /gnu
parentc69f36652745136d218373058d50a07e4f034903 (diff)
grafts: Only compute necessary graft derivations.
* guix/packages.scm (input-graft, input-cross-graft): Store the monadic value of the replacement in the 'replacement' field of <graft> instead of unwrapping it. (cumulative-grafts): Turn monadic values in the 'replacement' field of applicable grafts into derivations. * 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"): Do not compare <graft> records directly, compare the relevant fields instead, calling ‘run-with-store’ on the ‘replacement’ field. Co-authored-by: Ludovic Courtès <[email protected]> Change-Id: Idded0a402b8974df1ef2354f1a88c308b9b99777
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions