gexp: Allow use of high-level objects in #:references-graphs.
authorLudovic Courtès <ludo@gnu.org>
Sat, 6 Sep 2014 13:45:32 +0000 (15:45 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 6 Sep 2014 21:42:56 +0000 (23:42 +0200)
commitb53833b2ef36cf139f65193bec688396a734b0d0
tree36869e74c9147a95fb7ad3e8dea9bc65216dc093
parent108293c5ea65502e351cb2f6682668d5d345dd1f
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'.
doc/guix.texi
gnu/system/vm.scm
guix/gexp.scm
tests/gexp.scm