On Wed, 20 Jan 2016 13:42:11 +0100 swedebugia@riseup.net wrote: > Hi > > I have trouble getting the syntax right to delete avahi and wicd from my > config.scm. > > This did not work (inspecting with the REPL): > (services (cons* (tor-service) %desktop-services)) > (modify-services (alist-delete > wicd-service > %desktop-services)) > (modify-services (alist-delete > avahi-service > %desktop-services)) > > Neither this: > (services (cons* (tor-service) %desktop-services)) > (modify-services (alist-delete > wicd-service > avahi-service > %desktop-services)) > > The manual does not yet have examples of how to delete one or more > entries from the %base-services or other lists. > > Help would be appreciated :) > > cheers > swedebugia > I haven't written any config.scm files, but if it's like the python packages this might work: (services (cons* (tor-service) (fold alist-delete %desktop-services '("wicd-service" "avahi-service")))) -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted