help-guix
[Top][All Lists]
Advanced

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

Re: Error during CUPS configuration


From: Alex Kost
Subject: Re: Error during CUPS configuration
Date: Sat, 25 Feb 2017 23:50:41 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Thomas Sigurdsen (2017-02-25 00:59 +0100) wrote:

> I'm trying to setup cups printing on machine running GuixSD. I've attached the
> config. The problem I'm having is that guix throws an error on the line 
> saying:
> "(cups-service-type", here's the error:
>
> guix system: error: failed to load '/etc/config.scm':
> /etc/config.scm:97:19: In procedure #<procedure 54078a0 ()>:
> /etc/config.scm:97:19: Wrong type to apply: #<service-type cups 4a88810>
>
> Neither guix/gnu/services/cups.scm or the docs explain this, is
> cups-service-type a placeholder or is it just a strange name for a servie?
>
> Any help would be nice.

Hello, I don't use cups service, but...

[...]
>   (services (cons* (console-keymap-service "us")
>                    (cups-service-type
>                     (cups-configuration
>                      (web-interface? #t)
>                      (browsing? #t)
>                      (default-paper-size "a4")))
>                    ;;(dhcp-client-service)

... the manual says:

  (service cups-service-type (cups-configuration ...))

and you do:

  (cups-service-type (cups-configuration ...))

-- 
Alex



reply via email to

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