diff options
author | Brice Waegeneire <brice@waegenei.re> | 2020-05-27 18:07:14 +0200 |
---|---|---|
committer | Brice Waegeneire <brice@waegenei.re> | 2021-05-31 22:04:57 +0200 |
commit | 62a8d487d61513d214b9aa72e7efaefde215cd9b (patch) | |
tree | b5563c2583f7011a4d55d40e6f8065a671598d04 /gnu/services | |
parent | 8a0dc5f1bfba4493d2460bf05be9aff200a9bd04 (diff) | |
download | guix-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.scm | 3 |
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))))) |