summaryrefslogtreecommitdiff
path: root/gnu/installer/services.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-21 13:57:09 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-23 03:01:49 +0200
commited44e62636873d2b97eff06be70799a0f679bb2b (patch)
tree26fd6c932c15612284d2fd65af5faa9ee655da30 /gnu/installer/services.scm
parente254287b0c22fc89566bd08207dc72f4f8c9972d (diff)
installer: Remove unused procedure.
NETWORKING-SYSTEM-SERVICE? was obsoleted in commit 2e55f37c0c8fdfbc413edff61490161648a78dcc. * gnu/installer/services.scm (networking-system-service?): Remove it.
Diffstat (limited to 'gnu/installer/services.scm')
-rw-r--r--gnu/installer/services.scm9
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm
index ec5ea30594a..b0007218ae7 100644
--- a/gnu/installer/services.scm
+++ b/gnu/installer/services.scm
@@ -29,7 +29,6 @@
29 system-service-packages 29 system-service-packages
30 30
31 desktop-system-service? 31 desktop-system-service?
32 networking-system-service?
33 32
34 %system-services 33 %system-services
35 system-services->configuration)) 34 system-services->configuration))
@@ -38,7 +37,7 @@
38 system-service make-system-service 37 system-service make-system-service
39 system-service? 38 system-service?
40 (name system-service-name) ;string 39 (name system-service-name) ;string
41 (type system-service-type) ;'desktop | 'networking 40 (type system-service-type) ;'desktop|'networking|…
42 (recommended? system-service-recommended? ;Boolean 41 (recommended? system-service-recommended? ;Boolean
43 (default #f)) 42 (default #f))
44 (snippet system-service-snippet ;list of sexps 43 (snippet system-service-snippet ;list of sexps
@@ -46,7 +45,6 @@
46 (packages system-service-packages ;list of sexps 45 (packages system-service-packages ;list of sexps
47 (default '()))) 46 (default '())))
48 47
49;; This is the list of desktop environments supported as services.
50(define %system-services 48(define %system-services
51 (let-syntax ((desktop-environment (syntax-rules () 49 (let-syntax ((desktop-environment (syntax-rules ()
52 ((_ fields ...) 50 ((_ fields ...)
@@ -56,6 +54,7 @@
56 (G_ (syntax-rules () ;for xgettext 54 (G_ (syntax-rules () ;for xgettext
57 ((_ str) str)))) 55 ((_ str) str))))
58 (list 56 (list
57 ;; This is the list of desktop environments supported as services.
59 (desktop-environment 58 (desktop-environment
60 (name "GNOME") 59 (name "GNOME")
61 (snippet '((service gnome-desktop-service-type)))) 60 (snippet '((service gnome-desktop-service-type))))
@@ -124,10 +123,6 @@
124 "Return true if SERVICE is a desktop environment service." 123 "Return true if SERVICE is a desktop environment service."
125 (eq? 'desktop (system-service-type service))) 124 (eq? 'desktop (system-service-type service)))
126 125
127(define (networking-system-service? service)
128 "Return true if SERVICE is a desktop environment service."
129 (eq? 'networking (system-service-type service)))
130
131(define (system-services->configuration services) 126(define (system-services->configuration services)
132 "Return the configuration field for SERVICES." 127 "Return the configuration field for SERVICES."
133 (let* ((snippets (append-map system-service-snippet services)) 128 (let* ((snippets (append-map system-service-snippet services))