summaryrefslogtreecommitdiff
path: root/guix/http.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/http.scm')
-rw-r--r--guix/http.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/http.scm b/guix/http.scm
index 21234b388f..97ed3983f1 100644
--- a/guix/http.scm
+++ b/guix/http.scm
@@ -28,7 +28,8 @@
;;; Code:
(define* (http-fetch store url hash-algo hash
- #:key name (system (%current-system)))
+ #:optional name
+ #:key (system (%current-system)))
"Return the path of a fixed-output derivation in STORE that fetches URL,
which is expected to have hash HASH of type HASH-ALGO (a symbol). By
default, the file name is the base name of URL; optionally, NAME can specify