Skip to content
Snippets Groups Projects
Unverified Commit dd41a7f8 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

file-systems: Add a 'location' field to <file-system>.

* gnu/system/file-systems.scm (<file-system>)[location]: New field.
parent aed1f1b0
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ (define-module (gnu system file-systems)
file-system-check?
file-system-create-mount-point?
file-system-dependencies
file-system-location
file-system-type-predicate
......@@ -101,7 +102,10 @@ (define-record-type* <file-system> file-system
(create-mount-point? file-system-create-mount-point? ; Boolean
(default #f))
(dependencies file-system-dependencies ; list of <file-system>
(default '()))) ; or <mapped-device>
(default '())) ; or <mapped-device>
(location file-system-location
(default (current-source-location))
(innate)))
;; Note: This module is used both on the build side and on the host side.
;; Arrange not to pull (guix store) and (guix config) because the latter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment