guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add gnome.


From: Andreas Enge
Subject: Re: [PATCH] gnu: Add gnome.
Date: Wed, 24 Feb 2016 13:18:09 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]