diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-31 23:20:22 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-10-31 23:37:47 -0400 |
commit | f37ad658eada78384764c7d6db3a7f3ad8ad283e (patch) | |
tree | 136698f9f974e3ac4ed51bd4344b80eb22eda3a1 /gnu/packages/music.scm | |
parent | 28d46d9d4317180b348ad5baeddad8ef25ed430a (diff) | |
download | guix-patches-f37ad658eada78384764c7d6db3a7f3ad8ad283e.tar guix-patches-f37ad658eada78384764c7d6db3a7f3ad8ad283e.tar.gz |
services: ntp: Fix a crash when using legacy configuration.
Fixes issue #37504 (see: https://bugs.gnu.org/37504).
The bug was caused by the fact that destructuring an <ntp-configuration>
record using match would bind the 'servers' field without using the
compatibility accessor.
* gnu/services/networking.scm (ntp-shepherd-service): Replace `match-lambda'
by distinct `lambda' and `match' calls, so that the 'servers' field can be
generated by applying the `ntp-configuration-servers' procedure to the
configuration object.
Diffstat (limited to 'gnu/packages/music.scm')
0 files changed, 0 insertions, 0 deletions