dannym pushed a commit to branch wip-desktop
in repository guix.
commit 5f84c4df50bc6f7b7a866848cbeb8383bd6f5142
Author: Raghav Gururajan <[email protected]>
AuthorDate: Sun Aug 16 00:39:14 2020 -0400
gnu: gdm: Fix elogind.
* gnu/packages/gnome.scm (gdm): Fix elogind.
[arguments]<#:phases>['pre-configure]: Modify phase.
Signed-off-by: Danny Milosavljevic <[email protected]>
---
gnu/packages/gnome.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c1d6087..27517b9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9466,21 +9466,18 @@ libxml2.")
(modify-phases %standard-phases
(add-before 'configure 'pre-configure
(lambda* (#:key inputs outputs #:allow-other-keys)
- ;; We don't have <systemd/sd-daemon.h>.
(substitute* '("common/gdm-log.c"
"daemon/gdm-server.c"
"daemon/gdm-session-worker.c"
"daemon/gdm-session-worker-job.c")
(("#include <systemd/sd-daemon\\.h>")
- ""))
- ;; Use elogind for sd-login.
+ "#include <elogind/sd-daemon.h>"))
(substitute* '("common/gdm-common.c"
"daemon/gdm-local-display-factory.c"
"daemon/gdm-manager.c"
"libgdm/gdm-user-switching.c")
(("#include <systemd/sd-login\\.h>")
"#include <elogind/sd-login.h>"))
- ;; Check for elogind.
(substitute* '("configure")
(("libsystemd")
"libelogind"))