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
|
@ -73,7 +73,17 @@
|
|||
;; config.
|
||||
;; "--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
|
||||
`(("expat" ,expat)
|
||||
("pkg-config" ,pkg-config)
|
||||
|
|
Loading…
Reference in New Issue