all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Jan <tona_kosmicznego_smiecia@interia.pl>
Cc: help-guix@gnu.org
Subject: Re: Trying to install Guix System on a nonfree computer, the system frezees at booting, bug?
Date: Tue, 23 Jul 2019 21:37:02 +0200	[thread overview]
Message-ID: <87sgqwbl0y.fsf@elephly.net> (raw)
In-Reply-To: <20190723183733.00001140@interia.pl>


Hi,

> throws '/mnt/etc/config.scm:40:1 error: invalid field specifier'.

Your config file at line 40 contains this form:

 (services (append (list … … some-list))
           %base-services)

The format is wrong.  What I called “some-list” is this:

  (remove (lambda (service)
           (eq? (service-kind service) gdm-service-type))
          %desktop-services)

This is a list of services.  You are nesting lists and that’s not what
“services” accepts.  The field only accepts a single list of services.

Another problem is “%base-services”, which is another list.  You are
providing two values for the “services” field: one nested list and a
plain list of services (%base-services).

This will work:

 (services (append
            ;; This is a simple list of services.  It’s the first
            ;; argument to “append”.
	        (list (service dhcp-client-service-type)
		          (service slim-service-type (slim-configuration
                                              (display ":0")
                                              (vt "vt7")))
                  (service slim-service-type (slim-configuration
                                              (display ":1")
                                              (vt "vt8"))))
            ;; This is the second argument to “append”.  It’s just a
            ;; simple list of services, same as %desktop-services but
            ;; without the gdm-service-type.
            (remove (lambda (service)
                      (eq? (service-kind service) gdm-service-type))
                    %desktop-services)))


-- 
Ricardo

  reply	other threads:[~2019-07-23 19:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sjfbzubcyquxdxgytrgw@qjlw>
2019-07-22  5:20 ` Trying to install Guix System on a nonfree computer, the system frezees at booting, bug? pelzflorian (Florian Pelz)
2019-07-22 18:03   ` Jan
2019-07-23 10:37   ` Jan
2019-07-23 11:12     ` Ricardo Wurmus
2019-07-23 11:26       ` Jan
2019-07-23 12:35         ` Ricardo Wurmus
2019-07-23 16:37       ` Jan
2019-07-23 19:37         ` Ricardo Wurmus [this message]
2019-07-24  0:11         ` Jan
2019-07-24  6:15           ` pelzflorian (Florian Pelz)
2019-07-24 10:53           ` Jan
2019-07-24 12:16             ` pelzflorian (Florian Pelz)
2019-07-24 13:31             ` Jan
2019-07-24 15:03               ` pelzflorian (Florian Pelz)
2019-07-24 15:29               ` Jan
2019-07-24 15:43                 ` pelzflorian (Florian Pelz)
2019-07-22 15:07 ` Jovany Leandro G.C

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=87sgqwbl0y.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=help-guix@gnu.org \
    --cc=tona_kosmicznego_smiecia@interia.pl \
    /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.