Subject: bug#70085: closed (Re: [bug#70085] [PATCH] home: services: add newline to XDG_RUNTIME_DIR warning)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Sep 2024 14:43:05 +0000

Your bug report

#70085: [PATCH] home: services: add newline to XDG_RUNTIME_DIR warning

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 [email-masked].

-- 
70085: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70085
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#70085] [PATCH] home: services: add newline to XDG_RUNTIME_DIR warning
From: Hilton Chain <[email-masked]>
To: Richard Sent <[email-masked]>
Cc: Attila Lendvai <[email-masked]>, Fabio Natali <[email-masked]>, [email-masked]
Date: Sun, 29 Sep 2024 22:38:24 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi everyone,

On Sat, 30 Mar 2024 09:10:35 +0800,
Richard Sent wrote:
> 
> * gnu/home/services.scm: Add end-of-text newline to warning printed by
> on-first-login script when XDG_RUNTIME_DIR does not exist.
> 
> Change-Id: I3bfe2c415f6941fa9a2231ab2a0be53db965053f
> ---
> Without this change, the prompt will be pushed to the side by the
> warning message. Other warnings in the repo follow this convention, so
> I assume this one should as well.
> 
>  gnu/home/services.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied as cbf46d2565112180fe7b316b2530293ed2d3acf3, thanks!

Subject: [PATCH] home: services: add newline to XDG_RUNTIME_DIR warning
From: Richard Sent <[email-masked]>
To: [email-masked]
Cc: Richard Sent <[email-masked]>
Date: Fri, 29 Mar 2024 21:10:35 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/home/services.scm: Add end-of-text newline to warning printed by
on-first-login script when XDG_RUNTIME_DIR does not exist.

Change-Id: I3bfe2c415f6941fa9a2231ab2a0be53db965053f
---
Without this change, the prompt will be pushed to the side by the
warning message. Other warnings in the repo follow this convention, so
I assume this one should as well.

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

diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index b69cd91203..39c9033ad6 100644
--- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -445,7 +445,7 @@ (define (compute-on-first-login-script _ gexps)
              (warning (G_ "XDG_RUNTIME_DIR doesn't exists, on-first-login script
 won't execute anything.  You can check if xdg runtime directory exists,
 XDG_RUNTIME_DIR variable is set to appropriate value and manually execute the
-script by running '$HOME/.guix-home/on-first-login'"))))))))
+script by running '$HOME/.guix-home/on-first-login'~%"))))))))
 
 (define (on-first-login-script-entry on-first-login)
   "Return, as a monadic value, an entry for the on-first-login script

base-commit: d67e4f0f9b10c7ddac8fb0ca68cbf1d6ad0a6e5d
-- 
2.41.0