[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: gdm: Pass XDG_DATA_DIRS into session environment.
From: |
guix-commits |
Subject: |
01/04: gnu: gdm: Pass XDG_DATA_DIRS into session environment. |
Date: |
Sun, 30 Dec 2018 04:21:59 -0500 (EST) |
dannym pushed a commit to branch master
in repository guix.
commit 92deb5cc920fcc7617302986180f1abee5fd2b26
Author: Timothy Sample <address@hidden>
Date: Sat Dec 29 21:42:01 2018 -0500
gnu: gdm: Pass XDG_DATA_DIRS into session environment.
* gnu/packages/gnome.scm (gdm)[arguments]: Update the pre-configure
phase so that GDM preserves the XDG_DATA_DIRS variable when setting up
the session environment.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/gnome.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 415398e..da12a29 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -32,6 +32,7 @@
;;; Copyright © 2018 Jovany Leandro G.C <address@hidden>
;;; Copyright © 2018 Vasile Dumitrascu <address@hidden>
;;; Copyright © 2018 Björn Höfling <address@hidden>
+;;; Copyright © 2018 Timothy Sample <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -5399,6 +5400,11 @@ libxml2.")
;; are met (provided GNOME is installed of course).
"gdm_session_set_environment_variable (self,
\"XDG_CONFIG_DIRS\",\n"
" \"/run/current-system/profile/etc/xdg\");\n"
+ ;; The session bus (which GDM will initialize from the this
+ ;; session environment) needs to know where to find the system
+ ;; service files.
+ "gdm_session_set_environment_variable (self,
\"XDG_DATA_DIRS\",\n"
+ " \"/run/current-system/profile/share\");\n"
)))
;; Look for custom GDM conf in /run/current-system.
(substitute* '("common/gdm-settings-desktop-backend.c")