summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-07-10 09:47:07 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-07-10 09:47:07 -0400
commit1e49bcf98161b3e8684d22dc97fcc17158e764f4 (patch)
tree4000f7dbc8fbf04029233082145f5fce64933fd9
parente8627cd9951605b93d5af78dd306068543f623ed (diff)
downloadguix-1e49bcf98161b3e8684d22dc97fcc17158e764f4.tar.gz
gnu: Include (guix build syscalls) module in initrd/VM derivations.
This bug was introduced in commit 85c3127.

Thanks to Christopher Webber for reporting it.

* gnu/syste/linux-initrd.scm (base-initrd): Include (guix build syscalls)
  module in derivation.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
-rw-r--r--gnu/system/linux-initrd.scm1
-rw-r--r--gnu/system/vm.scm1
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 2b7ae71612..48b855b567 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -239,6 +239,7 @@ loaded at boot time in the order in which they appear."
                       #:volatile-root? '#$volatile-root?))
      #:name "base-initrd"
      #:modules '((guix build utils)
+                 (guix build syscalls)
                  (gnu build linux-boot)
                  (gnu build linux-modules)
                  (gnu build file-systems)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 690022dcd8..2520493e2e 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -102,6 +102,7 @@
                                                 (gnu build file-systems)
                                                 (guix elf)
                                                 (guix build utils)
+                                                (guix build syscalls)
                                                 (guix build store-copy)))
                                              (guile-for-build
                                               (%guile-for-build))