From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKii0-0006Tb-0K for guix-patches@gnu.org; Sun, 28 Apr 2019 08:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKihz-0000sp-2D for guix-patches@gnu.org; Sun, 28 Apr 2019 08:15:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51559) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKihy-0000sj-Uu for guix-patches@gnu.org; Sun, 28 Apr 2019 08:15:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKihy-0005Ul-NP for guix-patches@gnu.org; Sun, 28 Apr 2019 08:15:02 -0400 Subject: [bug#35470] [PATCH] services: slim: Honor the value of slim from slim-configuration. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:40243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKihR-0006Qx-0t for guix-patches@gnu.org; Sun, 28 Apr 2019 08:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKihP-0000m5-Pu for guix-patches@gnu.org; Sun, 28 Apr 2019 08:14:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKihP-0000l9-72 for guix-patches@gnu.org; Sun, 28 Apr 2019 08:14:27 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 42D902400E5 for ; Sun, 28 Apr 2019 14:14:23 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 44sRYB2lKdz9rxD for ; Sun, 28 Apr 2019 14:14:22 +0200 (CEST) From: Diego Nicola Barbato Date: Sun, 28 Apr 2019 14:14:21 +0200 Message-ID: <87ef5m9vj6.fsf@GlaDOS.home> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35470@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, I have noticed that setting the slim field in slim-configuration does not have any effect. This patch should fix that. Regards, Diego --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-services-slim-Honor-the-value-of-slim-from-slim-conf.patch >From 85c4a2764baba987d1ddd4dd67f7d33f9e49e9ea Mon Sep 17 00:00:00 2001 From: Diego Nicola Barbato Date: Sat, 27 Apr 2019 19:45:47 +0200 Subject: [PATCH] services: slim: Honor the value of slim from slim-configuration. Previously setting the slim field in slim-configuration would have no effect. * gnu/services/xorg.scm (slim-shepherd-service): Remove unused let binding for slim. Use (slim-configuration-slim config) instead of the default slim. --- gnu/services/xorg.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index d4e73c13b4..44dcec4ec9 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -502,7 +502,6 @@ desktop session from the system or user profile will be used." (define slim.cfg (let ((xinitrc (xinitrc #:fallback-session (slim-configuration-auto-login-session config))) - (slim (slim-configuration-slim config)) (xauth (slim-configuration-xauth config)) (startx (xorg-start-command (slim-configuration-xorg config))) (shepherd (slim-configuration-shepherd config)) @@ -547,7 +546,9 @@ reboot_cmd " shepherd "/sbin/reboot\n" (false-if-exception (delete-file "/var/run/slim.lock")) (fork+exec-command - (list (string-append #$slim "/bin/slim") "-nodaemon") + (list (string-append #$(slim-configuration-slim config) + "/bin/slim") + "-nodaemon") #:environment-variables (list (string-append "SLIM_CFGFILE=" #$slim.cfg) #$@(if theme -- 2.21.0 --=-=-=--