aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomáš Čech <sleep_walker@gnu.org>2015-03-26 16:08:13 +0100
committerTomáš Čech <sleep_walker@gnu.org>2015-03-26 18:05:37 +0100
commit24066017a979aeb59b380d802af58d3fbfc3edd9 (patch)
tree0d49468086f62ebb84c89731ab673923e9e23824
parente1ac691dfa5e8b7e374a9b7ec18cb69f3a6622c8 (diff)
downloadguix-24066017a979aeb59b380d802af58d3fbfc3edd9.tar
guix-24066017a979aeb59b380d802af58d3fbfc3edd9.tar.gz
gnu: wpa-supplicant: Install DBUS access configuration.
* gnu/packages/admin.scm (wpa-supplicant): Install DBUS configuration file.
-rw-r--r--gnu/packages/admin.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 95b0c9f007..4d4cef7cf3 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -783,7 +783,15 @@ This package provides the 'wpa_supplicant' daemon and the 'wpa_cli' command.")
CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
(close-port port))
#t)
- ,phases))))))
+ (alist-cons-after
+ 'install-man-pages 'install-dbus-conf
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (dir (string-append out "/etc/dbus-1/system.d")))
+ (mkdir-p dir)
+ (copy-file "dbus/dbus-wpa_supplicant.conf"
+ (string-append dir "/wpa_supplicant.conf"))))
+ ,phases)))))))
(define-public wakelan
(package