diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2017-04-06 08:55:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-04-07 23:30:39 +0200 |
commit | abf0880a67a362122d7c2379594cf3c27c45ffbd (patch) | |
tree | 4044a987761b8aec80888c689a84e026cc15d2e5 | |
parent | f91fcd9c42298e826026bc4eb3c6094a35722599 (diff) | |
download | patches-abf0880a67a362122d7c2379594cf3c27c45ffbd.tar patches-abf0880a67a362122d7c2379594cf3c27c45ffbd.tar.gz |
vm: Add missing module.
* gnu/build/vm.scm (define-module): Use module (guix build syscalls).
It fixes the following warnings during guix build :
gnu/build/vm.scm:233:3: warning: possibly unbound variable `mount'
gnu/build/vm.scm:238:3: warning: possibly unbound variable `umount'
gnu/build/vm.scm:268:8: warning: possibly unbound variable `mount'
gnu/build/vm.scm:276:8: warning: possibly unbound variable `umount'
gnu/build/vm.scm:315:4: warning: possibly unbound variable `mount'
gnu/build/vm.scm:323:4: warning: possibly unbound variable `umount'
This was not possible until the previous commit because we had to be sure
that Guile core implementation of 'mount' and 'umount' was used in
initrd context.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/build/vm.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 60ee18ebe0..44a3000eb1 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -21,6 +21,7 @@ (define-module (gnu build vm) #:use-module (guix build utils) #:use-module (guix build store-copy) + #:use-module (guix build syscalls) #:use-module (gnu build linux-boot) #:use-module (gnu build install) #:use-module (guix records) |