vm: Move store copy handling to (guix build store-copy).
authorLudovic Courtès <ludo@gnu.org>
Thu, 4 Sep 2014 21:05:12 +0000 (23:05 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 4 Sep 2014 21:24:54 +0000 (23:24 +0200)
commit6fd1a7967481037560d2ab25f31da182822ef889
tree1813e15f7535d84ffb48e53b31ed141d3d9b0323
parentb21a1c5a18e2e0f564812bd8a94a587d0234c68d
vm: Move store copy handling to (guix build store-copy).

* gnu/build/vm.scm (read-reference-graph, populate-store): Move to...
* guix/build/store-copy.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Adjust default
  #:modules values accordingly.
* tests/gexp.scm ("gexp->derivation, store copy"): New test.
Makefile.am
gnu/build/vm.scm
gnu/system/vm.scm
guix/build/store-copy.scm [new file with mode: 0644]
tests/gexp.scm