guix build: -S returns the replacement's source.
authorLudovic Courtès <ludo@gnu.org>
Wed, 2 Mar 2016 22:57:23 +0000 (23:57 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 2 Mar 2016 23:18:30 +0000 (00:18 +0100)
commit94d609aba8e14963459c21863ab56da2b5f01517
tree8f98c0f83bd4fc2c42d387685fa7751e96adf4dc
parent49c4fd2aab0c99c32ec338949ff07bd89d2920f6
guix build: -S returns the replacement's source.

Reported by Mark H Weaver.

* guix/scripts/build.scm (options->derivations): When SRC and GRAFT? are
true, use the source of P's replacement.
* tests/guix-build.sh: Add test.
guix/scripts/build.scm
tests/guix-build.sh