guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: wpa-supplicant: Install DBUS access configuration.


From: Tomáš Čech
Subject: Re: [PATCH] gnu: wpa-supplicant: Install DBUS access configuration.
Date: Thu, 26 Mar 2015 16:26:59 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Mar 26, 2015 at 04:12:32PM +0100, Tomáš Čech wrote:
* gnu/packages/admin.scm (wpa-supplicant): Install DBUS configuration file.
---
gnu/packages/admin.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 95b0c9f..354a01a 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"))
+                   (dbus-path (string-append out "/etc/dbus-1/system.d")))

Here is the indentation incorrect (missing one space).

+               (mkdir-p dbus-path)
+               (copy-file "dbus/dbus-wpa_supplicant.conf"
+                          (string-append dbus-path "/wpa_supplicant.conf"))))
+           ,phases)))))))

(define-public wakelan
  (package
--
2.2.1


Attachment: pgpDWf_SsgFT7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]