derivations: Allow 'map-derivations' to replace sources.
authorLudovic Courtès <ludo@gnu.org>
Wed, 13 Nov 2013 10:22:07 +0000 (11:22 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 13 Nov 2013 10:22:07 +0000 (11:22 +0100)
commita716e36de915a275e4eab42b73cf0a2affc4aa33
treeaffdccec604ccf00846b7e48f85fcf1861672b87
parentf80594cc41d7ad491f14a73d594228bacafdc871
derivations: Allow 'map-derivations' to replace sources.

* guix/derivations.scm (map-derivation)[input->output-paths]: Allow
  non-derivation inputs.
  Allow replacements to be store files.  Replace in SOURCES too.
* tests/derivations.scm ("map-derivation, sources"): New test.
guix/derivations.scm
tests/derivations.scm