rekado pushed a commit to branch wip-gnome3.30
in repository guix.

commit 01ce87fadc7c6bb4f40876bbe96abb8177aebf11
Author: Ricardo Wurmus <[email protected]>
Date:   Fri Nov 30 09:41:03 2018 +0100

    gnu: gnome-settings-daemon: Ensure RUNPATH contains library subdir.
    
    * gnu/packages/gnome.scm (gnome-settings-daemon)[arguments]: Pass configure
    flag to add $out/lib/gnome-settings-daemon-3.0 to RUNPATH.
---
 gnu/packages/gnome.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dd4a220..7d8c469 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3101,7 +3101,11 @@ services for numerous locations.")
        #:configure-flags
        (list (string-append "-Dudev_dir="
                             (assoc-ref %outputs "out")
-                            "/lib/udev/rules.d/"))
+                            "/lib/udev/rules.d/")
+             ;; Otherwise, the RUNPATH will lack the final path component.
+             (string-append "-Dc_link_args=-Wl,-rpath="
+                            (assoc-ref %outputs "out")
+                            "/lib/gnome-settings-daemon-3.0"))
        ;; Color management test can't reach the colord system service.
        #:tests? #f))
     (native-inputs

Reply via email to