guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: download: Update docstring.


From: guix-commits
Subject: 01/11: download: Update docstring.
Date: Tue, 20 Oct 2020 10:32:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d154462bd83b7a9df0a7e84fe4d9e0759b97bef3
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 20 09:32:05 2020 +0200

    download: Update docstring.
    
    * guix/download.scm (url-fetch): Update docstring to match what's in the
    manual.
---
 guix/download.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/guix/download.scm b/guix/download.scm
index 6622e25..c24e013 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -463,17 +463,17 @@ download by itself using its own dependencies."
                     #:key (system (%current-system))
                     (guile (default-guile))
                     executable?)
-  "Return a fixed-output derivation that fetches URL (a string, or a list of
-strings denoting alternate URLs), 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 a different file name.  When EXECUTABLE? is true,
-make the downloaded file executable.
+  "Return a fixed-output derivation that fetches data from URL (a string, or a
+list of strings denoting alternate URLs), 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 a different file name.  When EXECUTABLE? is
+true, make the downloaded file executable.
 
 When one of the URL starts with mirror://, then its host part is
 interpreted as the name of a mirror scheme, taken from %MIRROR-FILE.
 
-Alternately, when URL starts with file://, return the corresponding file name
-in the store."
+Alternatively, when URL starts with file://, return the corresponding file
+name in the store."
   (define file-name
     (match url
       ((head _ ...)



reply via email to

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