diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-13 11:38:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-13 18:29:01 +0200 |
commit | 074efd63a8b220fc1c6e450c4ac31b153ebd5f84 (patch) | |
tree | fa44264d943e237c94cff88a5551b64a6907779e /tests/derivations.scm | |
parent | e4e099feca0d6725b6614c2acdbae7f1dab261fb (diff) | |
download | patches-074efd63a8b220fc1c6e450c4ac31b153ebd5f84.tar patches-074efd63a8b220fc1c6e450c4ac31b153ebd5f84.tar.gz |
substitute: Pass the cache URL instead of <cache> objects.
* guix/scripts/substitute.scm (<cache>): Rename to...
(<cache-info>): ... this.
(open-cache): Rename to...
(download-cache-info): ... this. Return a <cache-info> or #f.
(open-cache*): Remove.
(cache-narinfo!): Take a URL instead of a <cache> as the first parameter.
(fetch-narinfos): Likewise. Call 'download-cache-info'. Remove use of
'force'.
(guix-substitute): Replace calls to 'open-cache*' with %CACHE-URL.
Diffstat (limited to 'tests/derivations.scm')
0 files changed, 0 insertions, 0 deletions