Fix problems initially introduced in commit 543d971ed2, now reinstated.

Commit 543d971ed2 ("services: configuration: Re-order generated record
fields") introduced two regressions, one in guix home and another one in the
zabbix service.

* gnu/home/services/shells.scm (home-bash-extensions): Remove the first
pattern in the match, which used to be to ignore %location.
* gnu/services/monitoring.scm (zabbix-front-end-nginx-extension): Likewise.
This commit is contained in:
Maxim Cournoyer 2022-11-16 23:10:39 -05:00
parent 44554e7133
commit 238248aac9
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 2 additions and 2 deletions

View file

@ -480,7 +480,7 @@ (define-configuration/no-serialization home-bash-extension
(define (home-bash-extensions original-config extension-configs)
(match original-config
(($ <home-bash-configuration> _ _ _ environment-variables aliases
(($ <home-bash-configuration> _ _ environment-variables aliases
bash-profile bashrc bash-logout)
(home-bash-configuration
(inherit original-config)

View file

@ -576,7 +576,7 @@ (define %zabbix-front-end-configuration-nginx
(define (zabbix-front-end-nginx-extension config)
(match config
(($ <zabbix-front-end-configuration> _ server nginx)
(($ <zabbix-front-end-configuration> server nginx)
(if (null? nginx)
(list
(nginx-server-configuration