gnu: gdm: Patch dbus-run-session path.

* gnu/packages/gnome.scm (gdm)[phases]{patch-paths}: New phase.
[inputs]: Add dbus.
This commit is contained in:
Maxim Cournoyer 2022-08-20 21:35:57 -04:00
parent 603a8e729e
commit 50c8db7f60
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -8434,6 +8434,11 @@ (define-public gdm
"--sbindir" (string-append #$output "/bin")) "--sbindir" (string-append #$output "/bin"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "daemon/gdm-session.c"
(("dbus-run-session")
(search-input-file inputs "bin/dbus-run-session")))))
(add-before 'configure 'pre-configure (add-before 'configure 'pre-configure
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
;; We don't have <systemd/sd-daemon.h>. ;; We don't have <systemd/sd-daemon.h>.
@ -8574,6 +8579,7 @@ (define-public gdm
(inputs (inputs
(list accountsservice (list accountsservice
check ;for testing check ;for testing
dbus
elogind elogind
eudev eudev
gnome-session gnome-session