(address . bug-guix@gnu.org)
In the Guix manual, as it appears on our website,
the manual entry for 'slim-service-type' suggests the following code to
remove the 'gdm' service from %desktop-services.
Toggle snippet (4 lines)
(modify-services %desktop-services
(delete gdm-service-type))
This code is incorrect. 'modify-services' does not support deleting
services.
The puzzling thing is that I can't find where this suggested code exists
in our git repository. The manual in our git repository is correct.
Instead of the code above, it suggests:
Toggle snippet (5 lines)
(remove (lambda (service)
(eq? (service-kind service) gdm-service-type))
%desktop-services)
This is the case on our 'master', 'core-updates', and 'version-1.2.0'
branches. See:
The correct text was added about 2 years ago, in the following commit:
I see no evidence of it being changed since then.
Any idea where the incorrect code on the website manual is coming from?
Thanks,
Mark