Hi Gabriel, Gabriel Wicki <[email protected]> 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
signature.asc
Description: PGP signature
