gnu: gdm: Remove obsolete pre-configuration.

* gnu/packages/gnome.scm (gdm) [arguments]<#:phases>['pre-configure]: Modify.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Raghav Gururajan 2020-09-07 06:58:32 -04:00 committed by Danny Milosavljevic
parent 3326cca406
commit 1349564dae
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -9436,19 +9436,6 @@ (define-public gdm
(add-before 'configure 'pre-configure (add-before 'configure 'pre-configure
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Replace systemd with elogind. ;; Replace systemd with elogind.
(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>")
"#include <elogind/sd-daemon.h>"))
;; Replace systemd with elogind.
(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>"))
(substitute* '("configure") (substitute* '("configure")
(("libsystemd") (("libsystemd")
"libelogind")) "libelogind"))