2f441fc738
This replaces ‘GUIX_DOWNLOAD_FALLBACK_TEST’ and allows you to test various download methods, like so: GUIX_DOWNLOAD_METHODS=nar guix build guile-gcrypt -S --check GUIX_DOWNLOAD_METHODS=disarchive guix build hello -S --check * guix/build/download.scm (%download-methods): New variable. (download-method-enabled?): New procedure. (url-fetch): Define ‘initial-uris’; honor ‘download-method-enabled?’. Call ‘disarchive-fetch/any’ only when the 'disarchive method is enabled. * guix/build/git.scm (git-fetch-with-fallback): Honor ‘download-method-enabled?’. * guix/download.scm (%download-methods): New variable. (%download-fallback-test): Remove. (built-in-download): Add #:download-methods parameter and honor it. (url-fetch*): Pass #:content-addressed-mirrors and #:disarchive-mirrors unconditionally. * guix/git-download.scm (git-fetch/in-band*): Pass “git url” unconditionally. (git-fetch/built-in): Likewise. Pass “download-methods”. * guix/bzr-download.scm (bzr-fetch)[build]: Honor ‘download-method-enabled?’. Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars. * guix/cvs-download.scm (cvs-fetch)[build]: Honor ‘download-method-enabled?’. Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars. * guix/hg-download.scm (hg-fetch): Honor ‘download-method-enabled?’. Pass #:env-vars to ‘gexp->derivation’. * guix/scripts/perform-download.scm (perform-download): Honor “download-methods” from DRV. Parameterize ‘%download-methods’ before calling ‘url-fetch’. (perform-git-download): Likewise. * guix/svn-download.scm (svn-fetch): Honor ‘download-method-enabled?’. Pass ‘GUIX_DOWNLOAD_METHODS’ to #:env-vars. (svn-multi-fetch): Likewise. Change-Id: Ia3402e17f0303dfa964bdc761265efe8a1dd69ab |
||
---|---|---|
.. | ||
maven | ||
agda-build-system.scm | ||
android-ndk-build-system.scm | ||
android-repo.scm | ||
ant-build-system.scm | ||
asdf-build-system.scm | ||
bournish.scm | ||
bzr.scm | ||
cargo-build-system.scm | ||
cargo-utils.scm | ||
chicken-build-system.scm | ||
clojure-build-system.scm | ||
clojure-utils.scm | ||
cmake-build-system.scm | ||
compile.scm | ||
composer-build-system.scm | ||
copy-build-system.scm | ||
cvs.scm | ||
debug-link.scm | ||
download-nar.scm | ||
download.scm | ||
dub-build-system.scm | ||
dune-build-system.scm | ||
elm-build-system.scm | ||
emacs-build-system.scm | ||
emacs-utils.scm | ||
font-build-system.scm | ||
git.scm | ||
glib-or-gtk-build-system.scm | ||
gnu-bootstrap.scm | ||
gnu-build-system.scm | ||
gnu-dist.scm | ||
go-build-system.scm | ||
graft.scm | ||
gremlin.scm | ||
guile-build-system.scm | ||
haskell-build-system.scm | ||
hg.scm | ||
java-utils.scm | ||
json.scm | ||
julia-build-system.scm | ||
kconfig.scm | ||
linux-module-build-system.scm | ||
lisp-utils.scm | ||
make-bootstrap.scm | ||
maven-build-system.scm | ||
meson-build-system.scm | ||
meson-configuration.scm | ||
minetest-build-system.scm | ||
minify-build-system.scm | ||
mix-build-system.scm | ||
node-build-system.scm | ||
ocaml-build-system.scm | ||
pack.scm | ||
perl-build-system.scm | ||
po.scm | ||
profiles.scm | ||
pyproject-build-system.scm | ||
python-build-system.scm | ||
qt-build-system.scm | ||
qt-utils.scm | ||
r-build-system.scm | ||
rakudo-build-system.scm | ||
rebar-build-system.scm | ||
renpy-build-system.scm | ||
ruby-build-system.scm | ||
scons-build-system.scm | ||
store-copy.scm | ||
svn.scm | ||
syscalls.scm | ||
texlive-build-system.scm | ||
tree-sitter-build-system.scm | ||
union.scm | ||
utils.scm | ||
vim-build-system.scm | ||
waf-build-system.scm | ||
zig-build-system.scm |