guix-devel
[Top][All Lists]
Advanced

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

Re: Help! Having troubles testing my generalization of home-redshift-se


From: Josselin Poiret
Subject: Re: Help! Having troubles testing my generalization of home-redshift-service
Date: Thu, 04 May 2023 10:35:20 +0200

Hi Gabriel,

Gabriel Wicki <gabriel@erlikon.ch> writes:

> Hi y'all!
>
> I've been working on a patch on generalizing the
> home-redshift-service-type to also work under wayland.  I've created the
> following patch but am now running into difficulties testing it.
>
> I've created two minimalist system configurations (one for i3 and one
> for sway) and run them like so:
> $ $(./pre-inst-env guix system vm sys-i3-minimal.scm)
>
> In that VM i am unable to
> $  guix home reconfigure my-config.scm
> due to `home-night-time-service-type` allegedly being an "unbound
> variable".  Investigating with `guix repl` and just importing the
> patched module I find a home-redshift-service-type but not my
> home-night-time-service-type.
>
> Having never really hacked home services I am somewhat puzzled.  It
> certainly feels like I'm missing something essential here.
>
> Any ideas?

The Guix that is included inside the `guix vm` corresponds to the guix
package definition in guix, not the current guix checkout you're using!
You could try to modify the guix-service-type's configuration to use
(current-guix) instead, as done in gnu/system/install.scm.

HTH,
-- 
Josselin Poiret

Attachment: signature.asc
Description: PGP signature


reply via email to

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