diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-06 15:45:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-06 23:42:56 +0200 |
commit | b53833b2ef36cf139f65193bec688396a734b0d0 (patch) | |
tree | 36869e74c9147a95fb7ad3e8dea9bc65216dc093 /gnu/system/linux-initrd.scm | |
parent | 108293c5ea65502e351cb2f6682668d5d345dd1f (diff) | |
download | guix-patches-b53833b2ef36cf139f65193bec688396a734b0d0.tar guix-patches-b53833b2ef36cf139f65193bec688396a734b0d0.tar.gz |
gexp: Allow use of high-level objects in #:references-graphs.
* guix/gexp.scm (lower-reference-graphs): New procedure.
(gexp->derivation)[graphs-file-names]: New procedure.
Use 'lower-reference-graphs', and augment #:inputs argument as a
function of #:references-graphs.
* doc/guix.texi (G-Expressions): Adjust 'gexp->derivation' documentation
accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): Remove reference to
TWO in BUILD-DRV. Use TWO directly in #:references-graphs argument.
("gexp->derivation #:references-graphs"): New test.
* gnu/system/vm.scm (qemu-image): Remove variable 'graph'; use INPUTS as
the #:references-graphs argument to
'expression->derivation-in-linux-vm'.
Diffstat (limited to 'gnu/system/linux-initrd.scm')
0 files changed, 0 insertions, 0 deletions