diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-06-13 17:03:34 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-06-13 17:03:34 +0200 |
commit | c36db98c8eaeded5243ecfa1c66e06f38da10692 (patch) | |
tree | 2d2fa5ebede4f7f08065e20f07e15bd88e946db4 /guix/derivations.scm | |
parent | bcdd83ec69cb818c0a809ca03b1297e9725ad95b (diff) | |
download | gnu-guix-c36db98c8eaeded5243ecfa1c66e06f38da10692.tar gnu-guix-c36db98c8eaeded5243ecfa1c66e06f38da10692.tar.gz |
Add supporting tools for the GNU Build System.
* guix/derivations.scm (build-expression->derivation): Add all of INPUTS
as inputs to the final derivation.
* guix/build/gnu-build-system.scm, guix/build/utils.scm,
guix/gnu-build-system.scm: New files.
* tests/builders.scm ("gnu-build"): New test.
Diffstat (limited to 'guix/derivations.scm')
-rw-r--r-- | guix/derivations.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/derivations.scm b/guix/derivations.scm index 22d8d91f09..c709aabc78 100644 --- a/guix/derivations.scm +++ b/guix/derivations.scm @@ -482,6 +482,7 @@ INPUTS." '(("HOME" . "/homeless")) `((,(%guile-for-build)) (,builder) + ,@(map (compose list cdr) inputs) ,@(if mod-drv `((,mod-drv)) '())) #:hash hash #:hash-algo hash-algo #:outputs outputs))) |