From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Proxy documentation is not clear Date: Sun, 19 Feb 2017 17:06:23 +0000 Message-ID: <20170219170623.sdtm536s7joncoqf@wasp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfUuT-0000ZR-K4 for help-guix@gnu.org; Sun, 19 Feb 2017 12:04:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfUuQ-00038D-H6 for help-guix@gnu.org; Sun, 19 Feb 2017 12:04:29 -0500 Received: from latitanza.investici.org ([82.94.249.234]:30996) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfUuQ-00034x-76 for help-guix@gnu.org; Sun, 19 Feb 2017 12:04:26 -0500 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id AB7C6120F3F for ; Sun, 19 Feb 2017 17:04:22 +0000 (UTC) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org doc/guix.html/Build-Environment-Setup.html#index-http_005fproxy reads: The daemon also honors the http_proxy environment variable for HTTP downl= oads it performs, be it for fixed-output derivations (see Derivations) or= for substitutes (see Substitutes). If you are installing Guix as an unprivileged user, it is still possible = to run guix-daemon provided you pass --disable-chroot. However, build pro= cesses will not be isolated from one another, and not from the rest of th= e system. Thus, build processes may interfere with each other, and may ac= cess programs, libraries, and other files available on the system=E2=80=94= making it much harder to view them as pure functions.=20 ... This links to: doc/guix.html/Derivations.html#Derivations and doc/guix.html/Substitutes.html#Substitutes where the substitutes page reads: Substitutes are downloaded over HTTP or HTTPS. The http_proxy environment= variable can be set in the environment of guix-daemon and is honored for= downloads of substitutes. Note that the value of http_proxy in the envir= onment where guix build, guix package, and other client commands are run = has absolutely no effect.=20 None of these pages provides any example or further explanation on how this could be achieved, for example to make Guix use a socks5 proxy systemwide. I know how this can be achieved with iptables etc, but it would be better if the documentation is fixed. I have no idea how in this case as the documentation is not clear.