1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00
Files
guix/tests
Ludovic Courtès a7c8e68dc5 records: Let thunked fields refer to their inherited value.
* guix/records.scm (make-syntactic-constructor)[field-index]: New procedure.
[wrap-field-value]: Add optional argument ‘parent’.  When it is true, bind F
to the inherited field value.
[field-bindings/inheritance]: New procedure.
Use it.
* tests/records.scm ("define-record-type* & thunked & no inherited value")
("define-record-type* & thunked & inherited value")
("define-record-type* & thunked & inherited value & this-record"): New tests.
* doc/guix.texi (Defining Package Variants): Update ‘modify-inputs’ example to
refer to ‘inputs’.
(Writing Manifests): Likewise.
* doc/guix-cookbook.texi (Package Variants): Likewise for
‘substitute-keyword-arguments’.

Fixes: https://issues.guix.gnu.org/50335
Change-Id: If4e18155ce203637ff9e116ee8098f8997bfebe2
2026-03-20 13:27:15 +01:00
..
2026-01-25 21:23:25 +01:00
2017-01-26 13:49:56 +01:00
2025-08-31 12:39:24 +02:00
2026-02-10 23:46:34 +01:00
2025-12-03 14:38:09 +09:00
2025-11-21 14:38:44 +01:00
2021-04-12 18:42:22 +02:00
2025-10-29 11:51:24 +09:00
2025-11-14 16:42:16 +09:00
2025-09-30 16:52:07 +09:00
2019-03-24 00:13:53 +01:00
2026-03-10 22:53:54 +01:00
2026-01-25 21:23:25 +01:00
2019-06-14 21:57:39 +02:00
2017-11-17 10:47:49 +01:00