[bug#77473] home: services: Re-export ‘simple-service‘.

Message ID 8c15b588510d7e75dc2093cc05cd92705d1a18f3.1743640428.git.lgcoelho@disroot.org
State New
Headers
Series [bug#77473] home: services: Re-export ‘simple-service‘. |

Commit Message

Luis Guilherme Coelho April 3, 2025, 12:33 a.m. UTC
  * 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(+)


base-commit: 9647cbbe86151ed326de161af45ec9d2cba1f717
  

Patch

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?))