diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-21 20:35:49 +0000 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-09-21 20:35:49 +0000 |
commit | d58e52b0713648dd30d41b41277854a935d8d15a (patch) | |
tree | d50ce303f957e20ffe96217ae034119f1609dd18 /.gitignore | |
parent | a3324e57531186a42feb3aa488556faa67386e9c (diff) | |
download | guix-d58e52b0713648dd30d41b41277854a935d8d15a.tar guix-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions