From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Deleting unnecessary services from %desktop-services Date: Sat, 01 Dec 2018 21:07:21 +0100 Message-ID: <87efb1huyu.fsf@elephly.net> References: < <87bm65l5p5.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gTBmm-00068Q-QC for help-guix@gnu.org; Sat, 01 Dec 2018 15:22:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gTBmi-0001dB-Nx for help-guix@gnu.org; Sat, 01 Dec 2018 15:22:44 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gTBmi-0001cc-Fh for help-guix@gnu.org; Sat, 01 Dec 2018 15:22:40 -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" To: znavko@tutanota.com Cc: Help Guix , Joshua Branson znavko@tutanota.com writes: > (remove! (lambda (service) > (eq? (service-kind service) > avahi-service-type ntp-service-type ntpd networking)) > %desktop-services > ) This doesn=E2=80=99t work as you are asking if (service-kind service) is the same as =E2=80=9Cavahi-service-type=E2=80=9D AND =E2=80=9Cntp-service-type= =E2=80=9D AND =E2=80=9Cntpd=E2=80=9D AND =E2=80=9Cnetworking=E2=80=9D. This will never be true. Use =E2=80=9Cmembe= r=E2=80=9D instead. (Also, you should probably use =E2=80=9Cremove=E2=80=9D instead of =E2=80= =9Cremove!=E2=80=9D.)=20 -- Ricardo