gnu: dbus: Create $out/etc/dbus-1/{system,session}.d to placate 'dbus-launch'.
* gnu/packages/glib.scm (dbus)[arguments]: Add 'post-install' phase.
This commit is contained in:
parent
22e47b640e
commit
8fa9ff20a8
1 changed files with 11 additions and 1 deletions
|
|
@ -73,7 +73,17 @@
|
||||||
;; config.
|
;; config.
|
||||||
;; "--sysconfdir=/etc"
|
;; "--sysconfdir=/etc"
|
||||||
|
|
||||||
"--with-session-socket-dir=/tmp")))
|
"--with-session-socket-dir=/tmp")
|
||||||
|
#:phases (alist-cons-after
|
||||||
|
'install 'post-install
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
;; 'dbus-launch' bails out if the 'session.d' directory
|
||||||
|
;; below is missing, so create it along with its companion.
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(mkdir (string-append out "/etc/dbus-1/session.d"))
|
||||||
|
(mkdir (string-append out "/etc/dbus-1/system.d"))
|
||||||
|
#t))
|
||||||
|
%standard-phases)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("expat" ,expat)
|
`(("expat" ,expat)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
|
|
|
||||||
Reference in a new issue