diff options
| author | Giacomo Leidi <therewasa@fishinthecalculator.me> | 2026-03-07 16:21:57 +0100 |
|---|---|---|
| committer | Giacomo Leidi <therewasa@fishinthecalculator.me> | 2026-03-07 16:44:51 +0100 |
| commit | 5b2fcc51bc887995a0399d62371c8e2052946b95 (patch) | |
| tree | f9d55eca8ee8aae38400e4020e3297557a7de29a | |
| parent | e0bae00575bece50b6662ad48fee60b3d6235412 (diff) | |
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
| -rw-r--r-- | gnu/home/services.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm index 6c26afafc42..93d6881954c 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 '()))) ;;; |
