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 | |
parent | e9c6c58418043f36862a798389f3a7f4253f74cc (diff) | |
download | patches-00230df1074400acbcf8e80eeab5e67a3e1b3210.tar 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')
0 files changed, 0 insertions, 0 deletions