[Top][All Lists]

[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 ''...   
> 4.6%
> and it is slow. Am I doing something wrong?

No!  Slowness is a longstanding issue of, a poor little
VM.  I hope we can address it soon!  See

> 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’.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]