help-guix
[Top][All Lists]
Advanced

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

Re: bad use of syntactic keyword


From: Gottfried
Subject: Re: bad use of syntactic keyword
Date: Sat, 11 Mar 2023 10:15:20 +0000

Hi,
thanks for help

I have now got:

(service home-redshift-service-type
                     (home-redshift-configuration
                      (location-provider 'manual)
                      (latitude 52.5)        ;northern hemisphere
                      (longitude 13.5)))     ;Berlin
            (modify-services %desktop-services
              (guix-service-type
                   config => (guix-configuration
                     (inherit config)
                     (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes"))))
            (sane-service-type _ => sane-backends)))))
....................................................................................
but running system reconfigure..
I am getting now another message:

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error: home-redshift-service-type: unbound variable
.................................................................................
I copied the "redshift-service-type" part
from the manual into my config.scm
so I don’t find the "unbound variable".

Kind regards

Gottfried



Am 09.03.23 um 18:20 schrieb Julien Lepiller:
You have an extra closing parenthesis at the end of this line:

(extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes")))))

Remove one and adjust next lines if needed :)


                        %base-initrd-modules)))



Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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