all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org, 宋文武 <iyzsong@gmail.com>
Subject: Re: [PATCH] gnu: Add gnome.
Date: Wed, 24 Feb 2016 13:18:09 +0100	[thread overview]
Message-ID: <20160224121809.GA22950@solar> (raw)
In-Reply-To: <87r3g3m8ga.fsf@drakenvlieg.flower>

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

  parent reply	other threads:[~2016-02-24 12:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-13  4:33 [PATCH] gnu: Add gnome 宋文武
2016-02-13  5:04 ` Thompson, David
2016-02-15  0:01   ` Daniel Pimentel
2016-02-16 14:21 ` Thompson, David
2016-02-21 21:37 ` Ludovic Courtès
2016-02-23  5:36   ` Leo Famulari
2016-02-23 21:18     ` Jan Nieuwenhuizen
2016-02-23 21:29       ` Leo Famulari
2016-02-23 22:24         ` Jan Nieuwenhuizen
2016-02-23 23:34           ` Leo Famulari
2016-02-24 18:55             ` Jan Nieuwenhuizen
2016-02-24 21:41               ` Leo Famulari
2016-02-24 21:48                 ` Jan Nieuwenhuizen
2016-02-24 12:18       ` Andreas Enge [this message]
2016-02-29 22:16         ` Jan Nieuwenhuizen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160224121809.GA22950@solar \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=iyzsong@gmail.com \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.