diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-08-17 21:20:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-08-17 21:20:11 +0200 |
commit | 68a61e9ffb4d1c8b54db68d61a3669bda50f1bd2 (patch) | |
tree | 3a30779964c4fac96b668ed00af174481b96b8a3 /gnu-system.am | |
parent | c90ddc8f811496e9da9ea1e6832a662bf767d6d9 (diff) | |
download | guix-68a61e9ffb4d1c8b54db68d61a3669bda50f1bd2.tar guix-68a61e9ffb4d1c8b54db68d61a3669bda50f1bd2.tar.gz |
gexp: Add #:target parameter to 'gexp->derivation'.
* guix/gexp.scm (lower-inputs): Add #:system and #:target. Use
'package->cross-derivation' when TARGET is true. Honor SYSTEM.
(gexp->derivation): Add #:target argument. Pass SYSTEM and TARGET to
'lower-inputs' and 'gexp->sexp'.
(gexp->sexp): Add #:system and #:target. Pass them in recursive call
and to 'package-file'.
* tests/gexp.scm (gexp->sexp*): Add 'system' and 'target' parameters.
("gexp->derivation, cross-compilation"): New test.
Diffstat (limited to 'gnu-system.am')
0 files changed, 0 insertions, 0 deletions