aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-18 10:04:37 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-18 19:42:00 +0100
commita0d7baaf483fb88d3f4896a8510b31123a26a646 (patch)
tree2d81792092c25712dfa1aa1a7108cfffb6ea5433 /gnu
parent3bf429af2fdad27f483be95b31642a016fdc2bd4 (diff)
downloadpatches-a0d7baaf483fb88d3f4896a8510b31123a26a646.tar
patches-a0d7baaf483fb88d3f4896a8510b31123a26a646.tar.gz
gnu: gnome-session: Make sure 'gsettings' is found.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add 'wrap-gnome-session' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 75a2a0cd47..b998cc36e8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3812,7 +3812,15 @@ such as gzip tarballs.")
(("#ifdef HAVE_SYSTEMD") "#if 0"))
(substitute* "gnome-session/gsm-manager.c"
(("#ifdef HAVE_SYSTEMD") "#if 0"))
- #t)))
+ #t))
+ (add-after 'install 'wrap-gnome-session
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Make sure 'gnome-session' finds the 'gsettings' program.
+ (let ((glib (assoc-ref inputs "glib:bin"))
+ (out (assoc-ref outputs "out")))
+ (wrap-program (string-append out "/bin/gnome-session")
+ `("PATH" ":" prefix (,(string-append glib "/bin"))))
+ #t))))
#:configure-flags
'("--enable-elogind")))
(build-system glib-or-gtk-build-system)