Add support for fixed-output derivations in `build-expression->derivation'.
commit26b969dee0d1abb92b44998dc573dad79b76d4cd
authorLudovic Courtès <ludo@gnu.org>
Sat, 9 Jun 2012 16:51:25 +0000 (9 18:51 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 9 Jun 2012 16:52:16 +0000 (9 18:52 +0200)
treeb711051e69b2c5ddf344ae02f7277dc1ac49ced3
parent749c6567554c1da258992173f66fb41d8511f4e3
Add support for fixed-output derivations in `build-expression->derivation'.

* guix/derivations.scm (build-expression->derivation): Pass HASH and
  HASH-ALGO to `derivation'.

* tests/derivations.scm ("build-expression->derivation for fixed-output
  derivation"): New test.
guix/derivations.scm
tests/derivations.scm