From 5b2fcc51bc887995a0399d62371c8e2052946b95 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Sat, 7 Mar 2026 16:21:57 +0100 Subject: [PATCH] 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 '()))) ;;;