summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-12-30 10:30:00 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-30 11:01:43 +0100
commit13e7caf52c467d2fb0f2d59a908e2aebcd430367 (patch)
treedeaf00de922007fa1854ab089c813f323b22eb96 /gnu/services
parent3a6c5922aa224c6f994f2944b29f0b1534f5d3e7 (diff)
services: resize-file-system: Remove invalid default value.
The default value of #f for the ‘file-system’ field is invalid and would trigger a type error when running ‘guix system search’. * gnu/services/admin.scm (<resize-file-system-configuration>)[file-system]: Remove default value. (resize-file-system-service-type)[default-value]: Remove. * doc/guix.texi (Miscellaneous Services): Adjust accordingly. Change-Id: If73f8923f49d38827059ba98bd53636a7f3917fe
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/admin.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm
index 4a2f5cb12da..571af6a04e3 100644
--- a/gnu/services/admin.scm
+++ b/gnu/services/admin.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2016-2023 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016-2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2023 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2024 Gabriel Wicki <gabriel@erlikon.ch>
@@ -572,8 +572,7 @@ which lets you search for packages that provide a given file.")
(define-record-type* <resize-file-system-configuration>
resize-file-system-configuration make-resize-file-system-configuration
resize-file-system-configuration?
- (file-system resize-file-system-file-system
- (default #f))
+ (file-system resize-file-system-file-system)
(cloud-utils resize-file-system-cloud-utils
(default cloud-utils))
(e2fsprogs resize-file-system-e2fsprogs
@@ -678,7 +677,6 @@ are booted from a system image flashed onto a larger medium.")
(extensions
(list
(service-extension shepherd-root-service-type
- (compose list resize-file-system-shepherd-service))))
- (default-value (resize-file-system-configuration))))
+ (compose list resize-file-system-shepherd-service))))))
;;; admin.scm ends here