From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Deleting services from %desktop-services in operating system declaration Date: Wed, 20 Jan 2016 15:28:32 +0200 Message-ID: <20160120152832.54b32923@debian-netbook> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/g41Y_SN15zA0g_Vip_MOKoU"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLsoS-0001DJ-GE for help-guix@gnu.org; Wed, 20 Jan 2016 08:28:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLsoP-0004MM-AG for help-guix@gnu.org; Wed, 20 Jan 2016 08:28:40 -0500 Received: from flashner.co.il ([178.62.234.194]:50937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLsoP-0004M8-3g for help-guix@gnu.org; Wed, 20 Jan 2016 08:28:37 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: swedebugia@riseup.net Cc: help-guix --Sig_/g41Y_SN15zA0g_Vip_MOKoU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 20 Jan 2016 13:42:11 +0100 swedebugia@riseup.net wrote: > Hi >=20 > I have trouble getting the syntax right to delete avahi and wicd from my= =20 > config.scm. >=20 > 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)) >=20 > Neither this: > (services (cons* (tor-service) %desktop-services)) > (modify-services (alist-delete > wicd-service > avahi-service > %desktop-services)) >=20 > The manual does not yet have examples of how to delete one or more=20 > entries from the %base-services or other lists. >=20 > Help would be appreciated :) >=20 > cheers > swedebugia >=20 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")))) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/g41Y_SN15zA0g_Vip_MOKoU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWn4uAAAoJEPTB05F+rO6TqdQP/11+EZRDzRlNwypxM8Nykt4e k9wKwIikS0oFAqWLycGFt4bHlxMbuXJNBl+Hamt4SqZ5azH32l/aM3mTcgTI0O8Y 5Pyz+Bns3elLH3QSbU0zFilbEnkBWdm73rzT3yQAvQL81+vKGAzYaKKeoZv+5vA0 gqLdLs0IgmvqOmzf5vI/rQmSZG7RYfZAFVBAkIcA1gFMAMewsL8k3vxhj5RgJyzI 9hfjOXbKnreQRMn8EKqpUonJiVCL4vrwRqo+oXmtnqQ8UlvTrmILMrBxplHxjGpV 1sOFbiYnP0K37QM+x/52VgNlHKTGMGrehB92MjfymOWVpSA0YABct0fXRNRyjeaF Op6xprlSJnqbdn+fN7s0vsEuAsDl6eKRhUfe+U6UQRPkmrtFC4V+mzkNUq79ljfs YEU9c1dE46gI+0yFR9UEGDmCrxsWVXoOzrOobsYrcuAUVosmokwFajRh+mugGODF Dc7GuPa9ybDZs1+X1OV8fbTXYIyS+6g5aLUf5QejqN0OGf0f1dlBhb/Wmidq7aZu ronL0sd29/jf4x/IksBavQXQ2mLXPrEyThqGFfzxolIPqEDPBqoRamkeJtvZCi65 jaJDRg+zQMBp4a4rvLeFwB00yeL96qGJZP0L1y+YhFzr1OFOVVej7L5tEVHeE8iY ygws+n7hGomTtxr/ZAjl =gFy2 -----END PGP SIGNATURE----- --Sig_/g41Y_SN15zA0g_Vip_MOKoU--