diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-08-28 23:59:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-08-29 00:05:03 +0200 |
commit | f989fa392f1786720cf18e75cc085e4f0f8d76d9 (patch) | |
tree | 4a47c856c767a8a659a0e917b4a4d0dff642591e /guix/derivations.scm | |
parent | f02b5474f1ff93ffeb72e7aa7c7ee6e6b6b6b163 (diff) | |
download | gnu-guix-f989fa392f1786720cf18e75cc085e4f0f8d76d9.tar gnu-guix-f989fa392f1786720cf18e75cc085e4f0f8d76d9.tar.gz |
gnu: linux-initrd: Allow Guile modules to be embedded in the initrd.
* gnu/packages/linux-initrd.scm (raw-build-system): New macro.
(module-package, compiled-module-package): New procedures.
(expression->initrd): Add `modules' keyword parameter.
Add "modules" and "modules/compiled" inputs; copy them onto the
initrd.
* guix/derivations.scm (imported-modules, compiled-modules): Publicize.
Diffstat (limited to 'guix/derivations.scm')
-rw-r--r-- | guix/derivations.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm index 59a3957149..c05644add2 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -61,6 +61,8 @@ derivation %guile-for-build + imported-modules + compiled-modules build-expression->derivation imported-files)) |