summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-13 23:40:34 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-18 22:29:54 +0200
commit3948ac25b1dccc40c7fdf56377f94a0775a835ee (patch)
treeb4e40770be03ccbe33e8a7c75d035e1816e62736 /gnu
parent9a5d68692314bebd16dbcdc0d4e4e52fa4d5812f (diff)
downloadguix-3948ac25b1dccc40c7fdf56377f94a0775a835ee.tar.gz
services: Make <service-type> 'description' field mandatory.
* gnu/services.scm (<service-type>)[description]: Remove default value.
* tests/services.scm: Add 'description' field to each 'service-type' form.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index 234ee372b8..6f0f4d5bdc 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -183,8 +183,7 @@
                  (default &no-default-value))
 
   ;; Meta-data.
-  (description  service-type-description          ;string
-                (default #f))
+  (description  service-type-description)         ;string
   (location     service-type-location             ;<location>
                 (default (and=> (current-source-location)
                                 source-properties->location))