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>

To reply to this bug, email your comments to 77473 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, janneke <at> gnu.org, ludo <at> gnu.org, tanguy <at> bioneland.org, guix-patches <at> gnu.org:
bug#77473; Package guix-patches. (Thu, 03 Apr 2025 00:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luis Guilherme Coelho <lgcoelho <at> disroot.org>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, janneke <at> gnu.org, ludo <at> gnu.org, tanguy <at> bioneland.org, guix-patches <at> gnu.org. (Thu, 03 Apr 2025 00:52:02 GMT) Full text and rfc822 format available.

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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 08 Apr 2025 15:32:04 GMT) Full text and rfc822 format available.

Notification sent to Luis Guilherme Coelho <lgcoelho <at> disroot.org>:
bug acknowledged by developer. (Tue, 08 Apr 2025 15:32:05 GMT) Full text and rfc822 format available.

Message #10 received at 77473-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Luis Guilherme Coelho <lgcoelho <at> disroot.org>
Cc: 77473-done <at> debbugs.gnu.org, Janneke Nieuwenhuizen <janneke <at> gnu.org>,
 Tanguy Le Carrour <tanguy <at> bioneland.org>, Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#77473] [PATCH] home: services: Re-export
 ‘simple-service‘.
Date: Tue, 08 Apr 2025 17:16:06 +0200
Hi,

Luis Guilherme Coelho <lgcoelho <at> disroot.org> skribis:

> * 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.

That makes sense to me.  Applied, thanks!

Ludo’.




This bug report was last modified today.

Previous Next


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