[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad use of syntactic keyword
From: |
Julien Lepiller |
Subject: |
Re: bad use of syntactic keyword |
Date: |
Sat, 11 Mar 2023 15:26:54 +0100 |
User-agent: |
K-9 Mail for Android |
Ah but the home-redshift-service-type is a home service, not a system service.
It's meant to be used with guix home, not guix system.
Le 11 mars 2023 11:15:20 GMT+01:00, Gottfried <gottfried@posteo.de> a écrit :
>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)))
>>>
>
>