David Elsing
3331d675fb
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 <ludo@gnu.org >
Change-Id: Idded0a402b8974df1ef2354f1a88c308b9b99777
2025-01-19 00:39:17 +01:00
..
2022-05-18 23:20:21 +02:00
2023-10-07 12:41:05 -04:00
2024-12-18 18:32:40 +01:00
2022-08-28 23:37:28 +02:00
2022-07-13 10:49:40 -04:00
2024-08-31 10:42:06 +02:00
2023-09-26 17:36:58 +02:00
2024-08-21 00:52:39 +02:00
2021-01-16 11:51:03 +00:00
2024-12-30 11:01:54 +01:00
2023-12-18 23:16:28 +01:00
2023-01-30 22:24:27 +01:00
2023-06-09 14:19:14 +02:00
2024-04-15 22:36:42 +02:00
2021-12-18 04:09:47 +01:00
2024-09-19 12:41:54 +02:00
2024-11-12 23:46:49 +01:00
2024-04-15 22:36:42 +02:00
2024-09-17 17:34:58 +02:00
2023-06-09 14:19:14 +02:00
2021-07-18 02:10:49 -04:00
2024-06-03 22:58:53 +02:00
2024-09-16 00:16:20 +02:00
2023-09-26 17:36:59 +02:00
2024-07-18 17:31:19 +02:00
2023-09-27 23:38:21 +02:00
2024-11-17 20:32:50 +09:00
2023-10-28 00:17:23 +02:00
2023-08-21 16:16:47 +02:00
2024-11-12 23:40:39 +01:00
2023-04-21 16:16:38 +02:00
2021-12-22 10:53:19 +01:00
2023-04-21 16:16:38 +02:00
2024-12-02 23:18:52 +01:00
2023-04-21 16:16:38 +02:00
2022-09-04 23:10:10 +02:00
2024-05-13 16:31:35 +02:00
2023-10-28 01:30:37 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2024-05-01 17:26:18 +02:00
2023-09-26 17:36:57 +02:00
2023-04-21 16:16:38 +02:00
2023-08-25 17:45:47 +02:00
2021-02-22 12:07:45 +01:00
2023-11-15 18:29:37 +01:00
2023-04-21 16:16:38 +02:00
2023-10-28 01:30:37 +02:00
2023-04-21 17:09:46 +02:00
2023-04-21 16:16:38 +02:00
2024-12-14 00:34:28 +01:00
2023-08-15 09:38:29 -04:00
2024-12-14 01:28:49 +01:00
2023-12-06 23:50:04 +01:00
2024-09-03 13:59:33 +02:00
2024-06-13 22:34:00 +02:00
2024-03-11 22:12:34 +01:00
2023-12-03 16:15:29 +01:00
2024-06-03 22:58:53 +02:00
2025-01-16 22:32:11 +01:00
2022-06-04 12:04:24 +02:00
2022-03-06 22:49:46 +01:00
2025-01-12 14:18:03 +08:00
2022-12-26 17:15:06 +01:00
2024-12-03 16:59:54 +01:00
2022-07-08 13:51:34 +01:00
2021-04-12 18:42:22 +02:00
2024-12-12 12:52:07 +01:00
2024-06-03 22:58:53 +02:00
2024-08-31 10:42:16 +02:00
2022-10-22 01:46:55 +02:00
2021-11-16 14:34:28 +01:00
2023-04-07 17:56:07 +02:00
2024-05-19 16:05:00 +02:00
2024-04-15 22:36:42 +02:00
2021-12-22 10:53:19 +01:00
2024-11-23 16:30:17 +01:00
2025-01-19 00:39:17 +01:00
2022-12-12 15:03:05 +01:00
2024-09-28 00:20:18 +02:00
2024-08-31 10:42:49 +02:00
2024-04-15 22:36:42 +02:00
2024-12-30 11:01:54 +01:00
2023-11-22 16:51:46 +01:00
2023-06-04 10:59:28 +02:00
2023-02-19 21:13:23 -05:00
2023-08-31 23:31:50 -04:00
2022-06-26 23:19:14 +02:00
2024-04-15 22:36:42 +02:00
2024-12-30 00:51:57 +01:00
2024-05-25 16:44:42 +02:00
2023-08-18 16:10:08 +02:00
2023-12-11 23:18:53 +01:00
2024-06-03 22:58:52 +02:00
2023-12-04 22:26:36 +01:00
2024-03-09 18:55:49 +01:00
2025-01-07 17:44:12 +01:00
2022-10-22 01:46:55 +02:00
2024-08-31 10:45:37 +02:00
2024-12-13 20:18:36 +00:00
2024-12-01 20:14:16 +01:00
2022-12-13 17:46:39 +01:00
2025-01-08 23:03:04 +01:00
2024-04-15 22:36:42 +02:00