[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: updating list of substitutes
From: |
Ludovic Courtès |
Subject: |
Re: updating list of substitutes |
Date: |
Sun, 11 Oct 2015 20:39:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Pjotr Prins <address@hidden> skribis:
> The list of substitutes gets downloaded every time I do someting:
>
> substitute: updating list of substitutes from 'http://hydra.gnu.org'...
> 4.6%
>
> and it is slow. Am I doing something wrong?
No! Slowness is a longstanding issue of hydra.gnu.org, a poor little
VM. I hope we can address it soon! See
<https://lists.gnu.org/archive/html/guix-devel/2015-10/msg00172.html>.
> It appears to me that if the list does not change it should not be
> downloaded.
It’s not downloaded “every time.”
When building a package FOO, Guix looks for substitutes for FOO and its
prerequisites (those not already available locally.) It maintains in
/var/guix/substitute/cache a cache of those lookups.
Positive caches (for substitutes that are available) expire after 36h;
negative caches (substitutes that are missing) expire after 3h.
See (guix scripts substitute) for details; look for ‘ttl’.
Ludo’.
- Re: updating list of substitutes, Pjotr Prins, 2015/10/11
- Re: updating list of substitutes, Efraim Flashner, 2015/10/11
- Re: updating list of substitutes,
Ludovic Courtès <=
- Re: updating list of substitutes, Pjotr Prins, 2015/10/11
- Re: updating list of substitutes, Ludovic Courtès, 2015/10/12
- Re: updating list of substitutes, Pjotr Prins, 2015/10/13
- Re: updating list of substitutes, Andreas Enge, 2015/10/13
- Re: updating list of substitutes, Ludovic Courtès, 2015/10/13