[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/35: installer: Add wpa-supplicant along with NetworkManager and Connm
From: |
guix-commits |
Subject: |
01/35: installer: Add wpa-supplicant along with NetworkManager and Connman. |
Date: |
Sun, 14 Apr 2019 11:42:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit c9776d5beca07ba5419f9f6cb68d857290d64b9d
Author: Ludovic Courtès <address@hidden>
Date: Fri Apr 12 23:19:41 2019 +0200
installer: Add wpa-supplicant along with NetworkManager and Connman.
* gnu/installer/services.scm (%system-services) <network-manager,
connman>: Add a 'wpa-supplicant-service-type' instance.
(system-services->configuration): Unsplice it.
---
gnu/installer/services.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm
index 0e98392..5c708a0 100644
--- a/gnu/installer/services.scm
+++ b/gnu/installer/services.scm
@@ -20,6 +20,7 @@
(define-module (gnu installer services)
#:use-module (guix records)
#:use-module (srfi srfi-1)
+ #:use-module (ice-9 match)
#:export (system-service?
system-service-name
system-service-type
@@ -75,11 +76,13 @@
(system-service
(name (G_ "NetworkManager network connection manager"))
(type 'network-management)
- (snippet '(service network-manager-service-type)))
+ (snippet '((service network-manager-service-type)
+ (service wpa-supplicant-service-type))))
(system-service
(name (G_ "Connman network connection manager"))
(type 'network-management)
- (snippet '(service connman-service-type)))
+ (snippet '((service connman-service-type)
+ (service wpa-supplicant-service-type))))
(system-service
(name (G_ "DHCP client (dynamic IP address assignment)"))
(type 'network-management)
@@ -95,7 +98,13 @@
(define (system-services->configuration services)
"Return the configuration field for SERVICES."
- (let* ((snippets (map system-service-snippet services))
+ (let* ((snippets (append-map (lambda (service)
+ (match (system-service-snippet service)
+ ((and lst (('service _ ...) ...))
+ lst)
+ (sexp
+ (list sexp))))
+ services))
(desktop? (find desktop-system-service? services))
(base (if desktop?
'%desktop-services
- branch master updated (a84510f -> f446f78), guix-commits, 2019/04/14
- 01/35: installer: Add wpa-supplicant along with NetworkManager and Connman.,
guix-commits <=
- 02/35: tests: separate-store-os: Increase root partition size., guix-commits, 2019/04/14
- 03/35: vm: Do not mount /xchg with "cache=loose"., guix-commits, 2019/04/14
- 04/35: gnu: Add emacs-undo-propose-el., guix-commits, 2019/04/14
- 10/35: gnu: Add emacs-fish-mode., guix-commits, 2019/04/14
- 09/35: gnu: Add emacs-prettier., guix-commits, 2019/04/14
- 07/35: gnu: Add emacs-flycheck-haskell., guix-commits, 2019/04/14
- 08/35: gnu: Add emacs-js2-refactor-el., guix-commits, 2019/04/14
- 14/35: gnu: Add emacs-vdiff., guix-commits, 2019/04/14
- 18/35: gnu: Add emacs-ert-async., guix-commits, 2019/04/14
- 12/35: gnu: Add emacs-tco-el., guix-commits, 2019/04/14