guix-kreyren/guix
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
store.scm First stab at the `derivation' primitive. 2012-06-03 23:32:06 +02:00
utils.scm Add `base16-string->bytevector'. 2012-06-09 16:34:18 +02:00