guix build: Add '--with-input'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 31 Jan 2016 22:22:18 +0000 (23:22 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 1 Feb 2016 07:59:13 +0000 (08:59 +0100)
commit47c0f92c37dc7d50d9d4598ce5b91c4cdfec6ed1
treecef45ca2af85dba6bfa2c6e9e523a81197177b8e
parentf0907d97d43937d5bdde3b6440184325a80e0528
guix build: Add '--with-input'.

* guix/scripts/build.scm (transform-package-inputs): New procedure.
(%transformations): Add it.
(%transformation-options, show-transformation-options-help): Add
--with-input.
* tests/scripts-build.scm ("options->transformation, with-input"):
("options->transformation, with-input, no matches"): New tests.
* tests/guix-build.sh: Add tests.
* doc/guix.texi (Package Transformation Options): Document it.
doc/guix.texi
guix/scripts/build.scm
tests/guix-build.sh
tests/scripts-build.scm