diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-09-05 21:47:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-09-11 22:24:46 +0200 |
commit | 943e1b975fd0c44b2eaacec26df59e24ba9ef455 (patch) | |
tree | 2f827782a0df8a8deefeff6e6dc2c6fffe30ac8f /gnu/services/base.scm | |
parent | a8e1247d7d758a0c32d54f8277f40a05711555b8 (diff) | |
download | guix-943e1b975fd0c44b2eaacec26df59e24ba9ef455.tar guix-943e1b975fd0c44b2eaacec26df59e24ba9ef455.tar.gz |
services: base: Import the closure of (gnu build file-systems).
* gnu/services/base.scm (file-system-shepherd-service): Use
'source-module-closure' in the 'with-imported-modules' form.
Diffstat (limited to 'gnu/services/base.scm')
-rw-r--r-- | gnu/services/base.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 5001298ab3..23ef2d4bf0 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -47,6 +47,7 @@ #:select (mount-flags->bit-mask)) #:use-module (guix gexp) #:use-module (guix records) + #:use-module (guix modules) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (ice-9 match) @@ -286,8 +287,8 @@ FILE-SYSTEM." (dependencies (file-system-dependencies file-system)) (packages (file-system-packages (list file-system)))) (and (file-system-mount? file-system) - (with-imported-modules '((gnu build file-systems) - (guix build bournish)) + (with-imported-modules (source-module-closure + '((gnu build file-systems))) (shepherd-service (provision (list (file-system->shepherd-service-name file-system))) (requirement `(root-file-system |