GNU bug report logs - #77473
[PATCH] home: services: Re-export ‘simple-service‘.

Previous Next

Package: guix-patches;

Reported by: Luis Guilherme Coelho <lgcoelho <at> disroot.org>

Date: Thu, 3 Apr 2025 00:52:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luis Guilherme Coelho <lgcoelho <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Luis Guilherme Coelho <lgcoelho <at> disroot.org>
Subject: [PATCH] home: services: Re-export ‘simple-service‘.
Date: Wed,  2 Apr 2025 21:33:48 -0300
* gnu/home/services.scm: Re-export ‘simple-service‘.

Change-Id: Id680af7050fa23d112e4172d96c15470c3dbeaf9
---
Currently, users of Guix Home who want to instantiate simple-services
in their home-environments are forced to import (gnu services) or
(gnu), which provide much more symbols. Despite this being a very minor
inconvenience, and solvable through the use of #:select in the module
import or even using (@ (gnu services) simple-service), I think it
would be appropriate if (gnu home services) re-exported simple-service.

 gnu/home/services.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index 85a43f80ca..2342dc5e07 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -74,6 +74,7 @@ (define-module (gnu home services)
   #:re-export (service
                service-type
                service-extension
+               simple-service
                for-home
                for-home?))
 

base-commit: 9647cbbe86151ed326de161af45ec9d2cba1f717
-- 
2.49.0





This bug report was last modified 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.