This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 5b2fcc51bc home: services: Fix location of home-gc-root-service-type.
5b2fcc51bc is described below
commit 5b2fcc51bc887995a0399d62371c8e2052946b95
Author: Giacomo Leidi <[email protected]>
AuthorDate: Sat Mar 7 16:21:57 2026 +0100
home: services: Fix location of home-gc-root-service-type.
The home-gc-root-service-type has gnu/services.scm as location but,
being in gnu/home/services.scm, it should have
gnu/home/services.scm. The tests/home-services.scm test has been broken
since f7b8fbb504094ad617c7102579559efcc56db5fb .
This commit fixes that, by instantiating a new
service-type record instead of directly using the one built by
system->home-service.
This was initially reported by Yelninei at
https://codeberg.org/guix/guix/issues/6946#issuecomment-11318779 .
* gnu/home/services/scm (home-gc-root-service-type): Instantiate a new
service-type record, instead of directly using the one built by
system->home-service.
Fixes: https://codeberg.org/guix/guix/issues/6960
Change-Id: I4389e6bbd2b2e4b0657768228651e8b1c01fee3a
---
gnu/home/services.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 6c26afafc4..93d6881954 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -765,7 +765,9 @@ environment, and its configuration file, when available.")))
;;;
(define home-gc-root-service-type
- (system->home-service-type gc-root-service-type))
+ (service-type
+ (inherit (system->home-service-type gc-root-service-type))
+ (default-value '())))
;;;