build-expression->derivation: Move module forms at the top-level.
commit0d56a551bf5f1cf94f59cf508b3820bcc8fd8050
authorLudovic Courtès <ludo@gnu.org>
Sun, 17 Jun 2012 14:43:40 +0000 (17 16:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 17 Jun 2012 14:43:40 +0000 (17 16:43 +0200)
treef26b9dab85386c1d7fec7d1a2ad7a2fac0d382fa
parent5dcfdcaa79800530c4b7ea520b5eb984a5e6b7ca
build-expression->derivation: Move module forms at the top-level.

* guix/derivations.scm (build-expression->derivation)[module-form?]: New
  procedure.
  [prologue]: Add any form of EXP that matches MODULE-FORM?.
  [builder]: Remove any MODULE-FORM? from EXP.
guix/derivations.scm