From patchwork Sat Mar 30 01:10:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Sent X-Patchwork-Id: 62367 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3009527BBEA; Sat, 30 Mar 2024 01:13:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5E49627BBE9 for ; Sat, 30 Mar 2024 01:13:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqNHO-0000Zt-Db; Fri, 29 Mar 2024 21:13:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqNHJ-0000Zb-Bc for guix-patches@gnu.org; Fri, 29 Mar 2024 21:13:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqNHJ-0000yW-2U for guix-patches@gnu.org; Fri, 29 Mar 2024 21:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqNHK-0007M8-BX for guix-patches@gnu.org; Fri, 29 Mar 2024 21:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70085] [PATCH] home: services: add newline to XDG_RUNTIME_DIR warning Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sat, 30 Mar 2024 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70085 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70085@debbugs.gnu.org Cc: Richard Sent , ( , Andrew Tropin , Ludovic =?utf-8?q?Court=C3=A8s?= , Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: ( , Andrew Tropin , Ludovic =?utf-8?q?Court=C3=A8s?= , Tanguy Le Carrour Received: via spool by submit@debbugs.gnu.org id=B.171176117828265 (code B ref -1); Sat, 30 Mar 2024 01:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Mar 2024 01:12:58 +0000 Received: from localhost ([127.0.0.1]:43656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqNHF-0007Lo-RU for submit@debbugs.gnu.org; Fri, 29 Mar 2024 21:12:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqNHE-0007LX-Ea for submit@debbugs.gnu.org; Fri, 29 Mar 2024 21:12:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqNH5-0000YK-87 for guix-patches@gnu.org; Fri, 29 Mar 2024 21:12:47 -0400 Received: from mail-108-mta124.mxroute.com ([136.175.108.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqNH3-0000wg-Iv for guix-patches@gnu.org; Fri, 29 Mar 2024 21:12:46 -0400 Received: from filter006.mxroute.com ([136.175.111.2] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta124.mxroute.com (ZoneMTA) with ESMTPSA id 18e8cea6ea10003bea.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 30 Mar 2024 01:12:37 +0000 X-Zone-Loop: 22212619c7bac5352de408376d93f82ee0f942ed8c96 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bHIdPNe/j0yy7Kq9G/YsC09eaE0BV6zzjPyYZie9f4c=; b=b1g8Sku3xYbyCJvvvLT3wZIgoh z7lp46rYsDzJYTbpZgreQuMNyMwwzVLfLM4kEbHUp0TR1Bd2oEcCAttHyuCsb3HnAuVYXaV8zoiO4 qJAXhSOW7hrHxul2WFoi8gg7pd81WdVu0zDg3fuC/hT3km7pKNMw9qKvfFGu5BpfMOs2ias/4jfBi Us2DTy0j4Xvk3D0hbaxRutRuhGO8dwwI6cidL6pN5OoV56qDEizcGgguy3YVAJ/a1jKTGyrIRfVRL y7nOdXJRKd8fnXd+EBSqnhfqaKNgThFfv4oKWWgZjzEugG+inBMAQ3QY7HPOP4Z8NOAgNbfFww1I9 3L/jAOkA==; From: Richard Sent Date: Fri, 29 Mar 2024 21:10:35 -0400 Message-ID: <06b44aeb449a5335f12e1a4774d8a3222d87bf8c.1711761035.git.richard@freakingpenguin.com> MIME-Version: 1.0 X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.124; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta124.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: d67e4f0f9b10c7ddac8fb0ca68cbf1d6ad0a6e5d 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