summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-20 15:16:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-20 16:11:04 +0200
commitdb9035492b26cb646d1eb5e38aa59bd8de18b02a (patch)
treefc6585517a0bc2bb87231f191e0bc04375055149 /gnu/services
parent7194745a16008947f6cf1a3aba0f86e8ca18c2f6 (diff)
downloadguix-db9035492b26cb646d1eb5e38aa59bd8de18b02a.tar.gz
services: %base-services: Use nscd-service-type.
* gnu/services/base.scm (nscd-service-type)[default-value]: New field.
(%base-services): Replace nscd-service with nscd-service-type.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 4971f892c6..626c5975de 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com>
+;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1358,6 +1359,7 @@ the tty to run, among other things."
                            (name-services (append
                                            (nscd-configuration-name-services config)
                                            name-services)))))
+                (default-value %nscd-default-configuration)
                 (description
                  "Runs libc's @dfn{name service cache daemon} (nscd) with the
 given configuration---an @code{<nscd-configuration>} object.  @xref{Name
@@ -2327,7 +2329,7 @@ to handle."
         (syslog-service)
         (service urandom-seed-service-type)
         (service guix-service-type)
-        (nscd-service)
+        (service nscd-service-type)
 
         ;; The LVM2 rules are needed as soon as LVM2 or the device-mapper is
         ;; used, so enable them by default.  The FUSE and ALSA rules are