diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-06-09 18:49:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-06-09 18:49:19 +0200 |
commit | 749c6567554c1da258992173f66fb41d8511f4e3 (patch) | |
tree | 44dc60681806aa11e6eb7cb1334c0551cc57048d /srfi | |
parent | 6d800a80eaa2a221ee44617fdd702bf7c92f22ed (diff) | |
download | guix-749c6567554c1da258992173f66fb41d8511f4e3.tar.gz |
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.
Diffstat (limited to 'srfi')
0 files changed, 0 insertions, 0 deletions