aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2020-05-27 18:07:14 +0200
committerBrice Waegeneire <brice@waegenei.re>2021-05-31 22:04:57 +0200
commit62a8d487d61513d214b9aa72e7efaefde215cd9b (patch)
treeb5563c2583f7011a4d55d40e6f8065a671598d04 /gnu/services
parent8a0dc5f1bfba4493d2460bf05be9aff200a9bd04 (diff)
downloadguix-62a8d487d61513d214b9aa72e7efaefde215cd9b.tar
guix-62a8d487d61513d214b9aa72e7efaefde215cd9b.tar.gz
services: hostapd: Use package from configuration.
* gnu/services/networking.scm (hostapd-shepherd-services): Replace 'hostapd' by the package specified in the configuration.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/networking.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index b78c8ceacc..87b3d754a3 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -1591,7 +1591,8 @@ extra-settings "\n"))))
(requirement `(user-processes ,@requirement))
(documentation "Run the hostapd WiFi access point daemon.")
(start #~(make-forkexec-constructor
- (list #$(file-append hostapd "/sbin/hostapd")
+ (list #$(file-append (hostapd-configuration-package config)
+ "/sbin/hostapd")
#$(hostapd-configuration-file config))
#:log-file "/var/log/hostapd.log"))
(stop #~(make-kill-destructor)))))