From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: [PATCH] gnu: Add gnome. Date: Wed, 24 Feb 2016 13:18:09 +0100 Message-ID: <20160224121809.GA22950@solar> References: <1455338020-29932-1-git-send-email-iyzsong@gmail.com> <87k2lxu4n6.fsf@gnu.org> <20160223053659.GA12976@jasmine> <87r3g3m8ga.fsf@drakenvlieg.flower> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYYOY-0003hK-Ui for guix-devel@gnu.org; Wed, 24 Feb 2016 07:18:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYYOV-0003di-Ha for guix-devel@gnu.org; Wed, 24 Feb 2016 07:18:18 -0500 Received: from mailrelay2.public.one.com ([91.198.169.125]:16377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYYOV-0003dW-5K for guix-devel@gnu.org; Wed, 24 Feb 2016 07:18:15 -0500 Content-Disposition: inline In-Reply-To: <87r3g3m8ga.fsf@drakenvlieg.flower> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Jan Nieuwenhuizen Cc: guix-devel@gnu.org, =?utf-8?B?5a6L5paH5q2m?= On Tue, Feb 23, 2016 at 10:18:45PM +0100, Jan Nieuwenhuizen wrote: > (services > (cons* (console-keymap-service "dvorak") > ;;(dhcp-client-service) > (lsh-service #:port-number 2222 > #:allow-empty-passwords? #t > #:root-login? #t) > %desktop-services)) > > Uncommenting (dhcp-client-service) gives the error > > guix system: error: service 'networking' provided more than once > > but having it commented-out like this I cannot login with ssh to the > vm...and I cannot investigate what may have triggered the opaque error > message...puzzled This is due to the fact that %desktop-services includes wicd-service. Somewhere in the current documentation there is a paragraph that explains how to delete a service from a list of services (which is a bit more complicated than just removing a fixed variable, and amounts to checking the type of a service), but I have trouble finding it again. Ah, one needs to iterate over the services s in the list and test (eq? (service-kind s) some-service-type). Andreas