From cbaf0f11ddbe4228ddd3c81af18702ac86ae361c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org> Date: Wed, 21 Oct 2015 11:48:45 +0200 Subject: [PATCH] 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. --- guix/http-client.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/http-client.scm b/guix/http-client.scm index 8d1cc9b8f33..bee8cdc8342 100644 --- a/guix/http-client.scm +++ b/guix/http-client.scm @@ -241,7 +241,7 @@ (define* (http-fetch uri #:key port (text? #f) (buffered? #t)) ;;; 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") -- GitLab