summaryrefslogtreecommitdiff
path: root/gnu/packages/gettext.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-03-06 18:46:35 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-20 13:27:15 +0100
commita7c8e68dc51144a6d3981b770aca9c4897fc7c0c (patch)
tree9e1f59985c9d536e71a71860cdf892c2a497d17c /gnu/packages/gettext.scm
parente1457c467953b871d14214f6d617fdfea8ab15c1 (diff)
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
Diffstat (limited to 'gnu/packages/gettext.scm')
0 files changed, 0 insertions, 0 deletions