diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-10-14 15:41:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-10-14 15:44:52 +0200 |
commit | c4a7aa82e25503133a1bd33148d17968c899a5f5 (patch) | |
tree | d0a20677fe40a6c1d057d7e8448c65887476ff7a /gnu/tests/networking.scm | |
parent | 689d529e744bf745d64636dc57aea5189607172d (diff) | |
download | guix-c4a7aa82e25503133a1bd33148d17968c899a5f5.tar.gz guix-c4a7aa82e25503133a1bd33148d17968c899a5f5.zip |
download: Add parameter to test download fallback mechanisms.
This allows you to run, say:
GUIX_DOWNLOAD_FALLBACK_TEST=disarchive-mirrors guix build -S r-ebimage --check
or:
GUIX_DOWNLOAD_FALLBACK_TEST=content-addressed-mirrors ./pre-inst-env guix build -S r-ebimage --check
to check whether these fallback mechanisms work as expected.
* guix/download.scm (%no-mirrors-file, %no-disarchive-mirrors-file)
(%download-fallback-test): New variables.
(url-fetch*): Honor (%download-fallback-test).
Diffstat (limited to 'gnu/tests/networking.scm')
0 files changed, 0 insertions, 0 deletions