me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/gnome.scm (gdm)[phases]{patch-paths}: New phase.
[inputs]: Add dbus.
master
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
1 changed files with 6 additions and 0 deletions

View File

@ -8434,6 +8434,11 @@ library.")
"--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 @@ logo='~a'~%" icon))))))
(inputs (inputs
(list accountsservice (list accountsservice
check ;for testing check ;for testing
dbus
elogind elogind
eudev eudev
gnome-session gnome-session