aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-21 11:48:45 +0200
committerLudovic Courtès <ludo@gnu.org>2015-10-21 14:43:34 +0200
commitcbaf0f11ddbe4228ddd3c81af18702ac86ae361c (patch)
treedfd3f131c4d63dfa65f389d6224e99cc03a3688a
parent45e1096896700dab949770a4e136448ee06bf510 (diff)
downloadguix-cbaf0f11ddbe4228ddd3c81af18702ac86ae361c.tar.gz
guix-cbaf0f11ddbe4228ddd3c81af18702ac86ae361c.zip
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.
-rw-r--r--guix/http-client.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/http-client.scm b/guix/http-client.scm
index 8d1cc9b8f3..bee8cdc834 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -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")