summary refs log tree commit diff
path: root/build-aux
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-09-21 20:35:49 +0000
committerMathieu Othacehe <othacehe@gnu.org>2021-09-21 20:35:49 +0000
commitd58e52b0713648dd30d41b41277854a935d8d15a (patch)
treed50ce303f957e20ffe96217ae034119f1609dd18 /build-aux
parenta3324e57531186a42feb3aa488556faa67386e9c (diff)
downloadguix-d58e52b0713648dd30d41b41277854a935d8d15a.tar.gz
installer: keymap: Fix optional fields handling.
Fixes: <https://issues.guix.gnu.org/50723>.

The keymap xml contains optional shortDescription and description fields. The
assoc-ref call on those fields can return false, handle it correctly.

* gnu/installer/keymap.scm (xkb-rules->models+layouts): Introduce a new
"maybe-empty" helper to deal with optional fields. Use it for shortDescription
and description fields.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions