mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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 f7b8fbb504 .
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
This commit is contained in:
@@ -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 '())))
|
||||
|
||||
|
||||
;;;
|
||||
|
||||
Reference in New Issue
Block a user