services: configuration: Re-order generated record fields.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Fri, 28 Oct 2022 21:06:16 +0000 (17:06 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Tue, 15 Nov 2022 21:26:16 +0000 (16:26 -0500)
commit543d971ed2a1d9eb934af1f51930741d7cc4e7ef
tree3ca04fab218a74c1966f68bb371a3acfa409f913
parent8f9588185d74f1f251b041b84d43302c337588ff
services: configuration: Re-order generated record fields.

This is so that the first field of the generated record matches the first one
declared, which makes 'define-configuration' record API compatible with
define-record-type* ones.

* gnu/services/configuration.scm (define-configuration-helper): Move the
%location field below the ones declared by the user.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust match pattern
accordingly.
gnu/services/configuration.scm
gnu/services/monitoring.scm