mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: gnome-session: Make sure 'gsettings' is found.
* gnu/packages/gnome.scm (gnome-session)[arguments]: Add 'wrap-gnome-session' phase.
This commit is contained in:
parent
3bf429af2f
commit
a0d7baaf48
1 changed files with 9 additions and 1 deletions
|
@ -3812,7 +3812,15 @@ (define-public gnome-session
|
|||
(("#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)
|
||||
|
|
Loading…
Reference in a new issue