guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

41/181: gnu: gdm: Patch dbus-run-session path.


From: guix-commits
Subject: 41/181: gnu: gdm: Patch dbus-run-session path.
Date: Tue, 13 Sep 2022 02:25:20 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 50c8db7f6098993eb1160cb4fba9512dfe38cc89
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Aug 20 21:35:57 2022 -0400

    gnu: gdm: Patch dbus-run-session path.
    
    * gnu/packages/gnome.scm (gdm)[phases]{patch-paths}: New phase.
    [inputs]: Add dbus.
---
 gnu/packages/gnome.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e3474e4215..6e971f33c7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8434,6 +8434,11 @@ library.")
          "--sbindir" (string-append #$output "/bin"))
       #: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
             (lambda* (#:key inputs #:allow-other-keys)
               ;; We don't have <systemd/sd-daemon.h>.
@@ -8574,6 +8579,7 @@ logo='~a'~%" icon))))))
     (inputs
      (list accountsservice
            check                        ;for testing
+           dbus
            elogind
            eudev
            gnome-session



reply via email to

[Prev in Thread] Current Thread [Next in Thread]