guix: Rewrite build-docker-image to allow more paths.
authorChris Marusich <cmmarusich@gmail.com>
Thu, 15 Mar 2018 04:09:13 +0000 (05:09 +0100)
committerChris Marusich <cmmarusich@gmail.com>
Sat, 24 Mar 2018 02:04:10 +0000 (03:04 +0100)
commit1c2ac6b482ea20419e57fd54b0cd1d4d3972776b
tree59837443069c8d3ba769d920079dd451a2eaabda
parent8c9bf2946a1cb58c5b7b941db3a37830ece80708
guix: Rewrite build-docker-image to allow more paths.

* guix/docker.scm (build-docker-image): Rename "path" argument to
  "prefix" to reflect the fact that it is used as a prefix for the
  symlink targets.  Add the "paths" argument, and remove the "closure"
  argument, since it is now redundant.  Add a "transformations"
  argument.
* guix/scripts/pack.scm (docker-image): Read the profile's reference
  graph and provide its paths to build-docker-image via the new "paths"
  argument.
guix/docker.scm
guix/scripts/pack.scm