[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: gdm: Fix configuration file discovery.
From: |
guix-commits |
Subject: |
01/01: gnu: gdm: Fix configuration file discovery. |
Date: |
Sun, 12 May 2019 20:02:03 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit a430a3501a6d3a565cb78e04a8dbb3ab846ec5fc
Author: Timothy Sample <address@hidden>
Date: Sun May 12 09:36:38 2019 -0400
gnu: gdm: Fix configuration file discovery.
The configuration file loading code moved to a new file in version 2.28.
* gnu/package/gnome.scm (gdm)[arguments]: Change the pre-configure phase
to patch configuration file discovery into the 'gdm-settings.c' file.
---
gnu/packages/gnome.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 44ae693..0998471 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5655,8 +5655,8 @@ libxml2.")
"(self, \"" name "\","
"g_getenv (\"" name "\"));\n"))
propagate)))))
- ;; Look for custom GDM conf in /run/current-system.
- (substitute* '("common/gdm-settings-desktop-backend.c")
+ ;; Find the configuration file using an environment variable.
+ (substitute* '("common/gdm-settings.c")
(("GDM_CUSTOM_CONF")
(string-append "(g_getenv(\"GDM_CUSTOM_CONF\") != NULL"
" ? g_getenv(\"GDM_CUSTOM_CONF\")"