diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-11-10 21:42:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-12-11 23:19:00 +0100 |
commit | 7e113695864f8e8a8f6b642c95175094971cdb85 (patch) | |
tree | 7e49e7bcf68c96b91f59cc903f84f2a2ae29e787 /doc | |
parent | f63a8c5ca20edbf8fad21542712554f38f544e9b (diff) |
weather: Use the same substitute URLs as guix-daemon.
* guix/scripts/weather.scm (%default-options): Remove ‘substitute-urls’.
(guix-weather): Call ‘substitute-urls’ when OPTS doesn’t have it. Warn
when ‘substitute-urls’ returns #f.
* doc/guix.texi (Invoking guix weather): Adjust accordingly.
Change-Id: I3e9100074f2ad559e5c408660db70430d64f2bef
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 3ad8508a32..7fd94f562f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16566,8 +16566,9 @@ The available options are listed below. @table @code @item --substitute-urls=@var{urls} @var{urls} is the space-separated list of substitute server URLs to -query. When this option is omitted, the default set of substitute -servers is queried. +query. When this option is omitted, the URLs specified with the +@option{--substitute-urls} option of @command{guix-daemon} are used or, +as a last resort, the default set of substitute URLs. @item --system=@var{system} @itemx -s @var{system} |