help-guix
[Top][All Lists]
Advanced

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

Re: Trying to install Guix System on a nonfree computer, the system frez


From: Ricardo Wurmus
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
User-agent: mu4e 1.2.0; emacs 26.2

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 via email to

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