mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
Revert "PRELIMINARY: gnu: wpa-supplicant: Install dbus service files."
This reverts commit 9243fdf779
.
This commit is contained in:
parent
7f1b865819
commit
6744aba846
1 changed files with 16 additions and 25 deletions
|
@ -790,34 +790,25 @@ (define-public wpa-supplicant
|
|||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments wpa-supplicant-light)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after
|
||||
'configure 'configure-for-dbus
|
||||
(lambda _
|
||||
(let ((port (open-file ".config" "al")))
|
||||
(display "
|
||||
`(alist-cons-after
|
||||
'configure 'configure-for-dbus
|
||||
(lambda _
|
||||
(let ((port (open-file ".config" "al")))
|
||||
(display "
|
||||
CONFIG_CTRL_IFACE_DBUS=y
|
||||
CONFIG_CTRL_IFACE_DBUS_NEW=y
|
||||
CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
|
||||
(close-port port))
|
||||
#t))
|
||||
(add-after
|
||||
'install-man-pages 'install-dbus-conf
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(conf-dir (string-append out "/etc/dbus-1/system.d"))
|
||||
(service-dir
|
||||
(string-append out "/share/dbus-1/system-services")))
|
||||
(mkdir-p conf-dir)
|
||||
(copy-file "dbus/dbus-wpa_supplicant.conf"
|
||||
(string-append conf-dir "/wpa_supplicant.conf"))
|
||||
(mkdir-p service-dir)
|
||||
(for-each (lambda (file)
|
||||
(copy-file
|
||||
file
|
||||
(string-append service-dir "/" (basename file))))
|
||||
(find-files "dbus" "\\.service$"))
|
||||
#t)))))))))
|
||||
(close-port port))
|
||||
#t)
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue