Skip to content
Snippets Groups Projects
Commit 8fa9ff20 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu: dbus: Create $out/etc/dbus-1/{system,session}.d to placate 'dbus-launch'.

* gnu/packages/glib.scm (dbus)[arguments]: Add 'post-install' phase.
parent 22e47b64
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,17 @@ (define dbus ...@@ -73,7 +73,17 @@ (define dbus
;; 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment