[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: services: gdm: Add environment variables.
From: |
Ludovic Courtès |
Subject: |
05/11: services: gdm: Add environment variables. |
Date: |
Tue, 7 Nov 2017 12:12:06 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 3eda8dd614fb1c1b44ce85fdaedcbe06245069ba
Author: Timothy Sample <address@hidden>
Date: Wed Nov 1 22:12:52 2017 -0400
services: gdm: Add environment variables.
While not an optimal solution (see comment), this makes GDM functional.
* gnu/services/xorg.scm (gdm-shepherd-service): Set PATH and XDG_DATA_DIRS
environment variables.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/services/xorg.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 6200fa3..c5a1a0d 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -573,7 +573,14 @@ makes the good ol' XlockMore usable."
#:environment-variables
(list (string-append
"GDM_X_SERVER="
- #$(gdm-configuration-x-server config))))))
+ #$(gdm-configuration-x-server config))
+ ;; XXX: GDM requires access to a handful of
+ ;; programs and components from Gnome (gnome-shell,
+ ;; dbus, and gnome-session among others). The
+ ;; following variables only work provided Gnome is
+ ;; installed.
+ "XDG_DATA_DIRS=/run/current-system/profile/share"
+ "PATH=/run/current-system/profile/bin"))))
(stop #~(make-kill-destructor))
(respawn? #t))))
- branch master updated (ad54924 -> b574cee), Ludovic Courtès, 2017/11/07
- 01/11: hydra: Factorize package list creation., Ludovic Courtès, 2017/11/07
- 06/11: gnu: awesome: Update to 4.2., Ludovic Courtès, 2017/11/07
- 02/11: hydra: Build hidden packages., Ludovic Courtès, 2017/11/07
- 03/11: gnu: gdm: Fix config file path., Ludovic Courtès, 2017/11/07
- 08/11: gnu: Add PSM., Ludovic Courtès, 2017/11/07
- 04/11: gnu: gdm: Add configure flags for better defaults., Ludovic Courtès, 2017/11/07
- 07/11: gnu: diffoscope: Update to 88., Ludovic Courtès, 2017/11/07
- 09/11: gnu: libfabric: Add dependency on PSM., Ludovic Courtès, 2017/11/07
- 11/11: hydra: Add jobs for all of '%final-inputs'., Ludovic Courtès, 2017/11/07
- 05/11: services: gdm: Add environment variables.,
Ludovic Courtès <=
- 10/11: gnu: openmpi: Add dependency on PSM., Ludovic Courtès, 2017/11/07