summary refs log tree commit diff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-03-13 17:36:14 +0000
committerLudovic Courtès <ludo@gnu.org>2023-03-16 12:37:03 +0100
commit93918c67c5761d8f688cda5f5b49d5c49c7626d0 (patch)
treea700831e69b818491708f4f434cdf5738623f74f /gnu/system.scm
parent837e179e009cd55acc03193e5600fb0a8eb60e6b (diff)
downloadguix-93918c67c5761d8f688cda5f5b49d5c49c7626d0.tar.gz
services: etc-service: Deprecate etc-service procedure.
* gnu/services.scm (etc-service): Deprecate procedure.
* gnu/system.scm (operating-system-etc-service): Replace etc-service
with etc-service-type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 887e537b48..48cc68f449 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1090,7 +1090,7 @@ then
   # as those in ~/.guix-profile and /run/current-system/profile.
   source /run/current-system/profile/etc/profile.d/bash_completion.sh
 fi\n")))
-    (etc-service
+    (service etc-service-type
      `(("os-release" ,os-release)
        ("services" ,(file-append net-base "/etc/services"))
        ("protocols" ,(file-append net-base "/etc/protocols"))