mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
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
This commit is contained in:
parent
3a6c5922aa
commit
13e7caf52c
2 changed files with 4 additions and 6 deletions
|
@ -42314,7 +42314,7 @@ systems.
|
|||
|
||||
@table @asis
|
||||
|
||||
@item @code{file-system} (default: @code{#f}) (type: file-system)
|
||||
@item @code{file-system} (type: file-system)
|
||||
The file-system object to resize (@pxref{File Systems}). This object
|
||||
must have the @code{device} and @code{type} fields set. Other fields
|
||||
are ignored.
|
||||
|
|
|
@ -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 @@ (define unattended-upgrade-service-type
|
|||
(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 @@ (define resize-file-system-service-type
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue