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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Luis Guilherme Coelho <lgcoelho <at> disroot.org>
Subject: bug#77473: closed (Re: [bug#77473] [PATCH] home: services:
 Re-export ‘simple-service‘.)
Date: Tue, 08 Apr 2025 15:32:05 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77473 <at> debbugs.gnu.org.

-- 
77473: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77473
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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’.

[Message part 3 (message/rfc822, inline)]
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 99 days ago.

Previous Next


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