help-guix
[Top][All Lists]
Advanced

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

scanner


From: Gottfried
Subject: scanner
Date: Mon, 21 Feb 2022 17:13:29 +0000

Am 20.02.22 um 20:57 schrieb SeerLite:
On 2/20/22 13:25, Gottfried wrote:
Hi,

Below is my config.scm: it has 60 lines (if the 61:1 refers to a line???)

after: sudo guix system reconfigure /etc/config.scm

this message:

/etc/config.scm:61:1: schließende Klammer fehlt  (in English closing bracket is missing)

I don`t know where is the missing bracket?

You're missing 2 closing parentheses here:

   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
             (service cups-service-type
                 (cups-configuration
                     (web-interface? #t)
                     (extensions (list cups-filters hplip))))
             (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       (modify-services %desktop-services
         (sane-service-type _ => sane-backends))

One to close the "(append" and another one to close the "(services". We need these because otherwise Guile doesn't know where your _append_ stops and where your _services_ stop. It will continue reading everything as if it's part of the "append", when it actually has to close inside of services.

Does that make sense?

I hope you're able to get it working this time! :)

SeerLite

Hi,
does it mean that I have to add to the last words "sane-backends" instead of 2 brackets 4 brackets?
This is, what I understood.
gottfried



reply via email to

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