summaryrefslogtreecommitdiff
path: root/gnu/packages/glib.scm
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 /gnu/packages/glib.scm
parenta3324e57531186a42feb3aa488556faa67386e9c (diff)
downloadguix-patches-d58e52b0713648dd30d41b41277854a935d8d15a.tar
guix-patches-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 'gnu/packages/glib.scm')
0 files changed, 0 insertions, 0 deletions