~ruther/guix-local

cbaf0f11ddbe4228ddd3c81af18702ac86ae361c — Ludovic Courtès 10 years ago 45e1096
http-client: '%http-cache-ttl' is really a parameter.

Fixes a typo in commit 739ab68 that made it a procedure returning a
parameter.

* guix/http-client.scm (%http-cache-ttl): Turn into a parameter.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/http-client.scm
M guix/http-client.scm => guix/http-client.scm +1 -1
@@ 241,7 241,7 @@ Raise an '&http-get-error' condition if downloading fails."
;;; Caching.
;;;

(define (%http-cache-ttl)
(define %http-cache-ttl
  ;; Time-to-live in seconds of the HTTP cache of in ~/.cache/guix.
  (make-parameter
   (* 3600 (or (and=> (getenv "GUIX_HTTP_CACHE_TTL")