diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-26 23:31:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-30 12:02:10 +0200 |
commit | 00230df1074400acbcf8e80eeab5e67a3e1b3210 (patch) | |
tree | bf52237c849bdadfd904c570e7237b88d011b434 /tests/substitute-binary.scm | |
parent | e9c6c58418043f36862a798389f3a7f4253f74cc (diff) | |
download | guix-patches-00230df1074400acbcf8e80eeab5e67a3e1b3210.tar guix-patches-00230df1074400acbcf8e80eeab5e67a3e1b3210.tar.gz |
substitute-binary: Store the cache's URI in the local cached narinfo.
* guix/scripts/substitute-binary.scm (<narinfo>)[uri-base]: New field.
(narinfo-maker): Pass CACHE-URL as the 'uri-base' value.
(string->narinfo): Add 'cache-uri' parameter.
(lookup-narinfo)[cache-entry]: Switch to version 1. Add 'cache-uri'
field. Adjust body accordingly.
(remove-expired-cached-narinfos): Switch to version 1 by default.
Diffstat (limited to 'tests/substitute-binary.scm')
0 files changed, 0 insertions, 0 deletions