guix-devel/tests
Ludovic Courtès 749c656755 Add support for fixed-output derivations.
* guix/derivations.scm (read-derivation)[outputs->alist]: For
  fixed-outputs, convert HASH with `base16-string->bytevector'.
  (write-derivation): Likewise, convert HASH-ALGO to a string and HASH
  to a base16 string.
  (derivation-hash): Expect HASH to be a bytevector, not a string;
  convert HASH with `bytevector->base16-string'.

* tests/derivations.scm ("fixed-output derivation"): New test.
2012-06-09 18:49:19 +02:00
..
derivations.scm Add support for fixed-output derivations. 2012-06-09 18:49:19 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
utils.scm Add `base16-string->bytevector'. 2012-06-09 16:34:18 +02:00