diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-04-18 22:07:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-04-18 23:19:30 +0200 |
commit | 2ea2aac6e9d58a07c029504f94fb5015cd407e31 (patch) | |
tree | 28bb3ebe5f80fdcf84ca9464857c6f39754aaa2f /gnu/packages/patches | |
parent | 00753f7038234a0f5a79be3ec9ab949840a18743 (diff) | |
download | guix-2ea2aac6e9d58a07c029504f94fb5015cd407e31.tar.gz |
Add (guix cache) and use it in (guix scripts substitute).
* guix/cache.scm, tests/cache.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them. * guix/scripts/substitute.scm (obsolete?): Remove. (remove-expired-cached-narinfos): Rename to... (cached-narinfo-expiration-time): ... this. Remove the removal part and only keep the expiration time part. (narinfo-cache-directories): Add optional 'directory' parameter and honor it. (maybe-remove-expired-cached-narinfo): Remove. (cached-narinfo-files): New procedure. (guix-substitute): Use 'maybe-remove-expired-cache-entries' instead of 'maybe-remove-expired-cached-narinfo'.
Diffstat (limited to 'gnu/packages/patches')
0 files changed, 0 insertions, 0 deletions