doc: Document 'http_proxy'.
* doc/guix.texi (Build Environment Setup, Substitutes): Document 'http_proxy'.
This commit is contained in:
parent
44ad33843a
commit
e0c941fefa
|
@ -634,6 +634,11 @@ This way, the value of @code{TMPDIR} does not leak inside build
|
||||||
environments, which avoids discrepancies in cases where build processes
|
environments, which avoids discrepancies in cases where build processes
|
||||||
capture the name of their build tree.
|
capture the name of their build tree.
|
||||||
|
|
||||||
|
@vindex http_proxy
|
||||||
|
The daemon also honors the @code{http_proxy} environment variable for
|
||||||
|
HTTP downloads it performs, be it for fixed-output derivations
|
||||||
|
(@pxref{Derivations}) or for substitutes (@pxref{Substitutes}).
|
||||||
|
|
||||||
If you are installing Guix as an unprivileged user, it is still possible
|
If you are installing Guix as an unprivileged user, it is still possible
|
||||||
to run @command{guix-daemon} provided you pass @code{--disable-chroot}.
|
to run @command{guix-daemon} provided you pass @code{--disable-chroot}.
|
||||||
However, build processes will not be isolated from one another, and not
|
However, build processes will not be isolated from one another, and not
|
||||||
|
@ -1685,6 +1690,14 @@ Guix ignores substitutes that are not signed, or that are not signed by
|
||||||
one of the keys listed in the ACL. It also detects and raises an error
|
one of the keys listed in the ACL. It also detects and raises an error
|
||||||
when attempting to use a substitute that has been tampered with.
|
when attempting to use a substitute that has been tampered with.
|
||||||
|
|
||||||
|
@vindex http_proxy
|
||||||
|
Substitutes are downloaded over HTTP. The @code{http_proxy} environment
|
||||||
|
variable can be set in the environment of @command{guix-daemon} and is
|
||||||
|
honored for downloads of substitutes. Note that the value of
|
||||||
|
@code{http_proxy} in the environment where @command{guix build},
|
||||||
|
@command{guix package}, and other client commands are run has
|
||||||
|
@emph{absolutely no effect}.
|
||||||
|
|
||||||
The substitute mechanism can be disabled globally by running
|
The substitute mechanism can be disabled globally by running
|
||||||
@code{guix-daemon} with @code{--no-substitutes} (@pxref{Invoking
|
@code{guix-daemon} with @code{--no-substitutes} (@pxref{Invoking
|
||||||
guix-daemon}). It can also be disabled temporarily by passing the
|
guix-daemon}). It can also be disabled temporarily by passing the
|
||||||
|
|
Loading…
Reference in New Issue