[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 _ ...)
- branch master updated (6ea61b4 -> 5f92f51), guix-commits, 2020/10/20
- 02/11: doc: Replace @example with @lisp in "Build Phases"., guix-commits, 2020/10/20
- 01/11: download: Update docstring.,
guix-commits <=
- 04/11: gnu: guile2.0-git: Remove now unnecessary libgit2 special case., guix-commits, 2020/10/20
- 05/11: packages: Better preserve object identity when rewriting., guix-commits, 2020/10/20
- 07/11: graph: Fix typo in docstring., guix-commits, 2020/10/20
- 03/11: graph: Adjust test for recent OCaml changes., guix-commits, 2020/10/20
- 08/11: tests: Do not fetch and print the random seed from the top level., guix-commits, 2020/10/20
- 09/11: guix build: Add '--with-debug-info'., guix-commits, 2020/10/20
- 11/11: news: Add entry for '--with-debug-info'., guix-commits, 2020/10/20
- 06/11: gnu: poppler: Always use the same 'cairo-sans-poppler' variant., guix-commits, 2020/10/20
- 10/11: guix build: Move package transformation options behind '--help-transform'., guix-commits, 2020/10/20