From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 30 18:12:46 2015 Received: (at 20402) by debbugs.gnu.org; 30 Apr 2015 22:12:46 +0000 Received: from localhost ([127.0.0.1]:57841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnwhJ-0006vX-KA for submit@debbugs.gnu.org; Thu, 30 Apr 2015 18:12:45 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35025 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnwhI-0006vQ-AN for 20402@debbugs.gnu.org; Thu, 30 Apr 2015 18:12:44 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:34958 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YnwhH-0004zI-Qb; Thu, 30 Apr 2015 18:12:44 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Joshua Randall Subject: Re: bug#20402: updated patch to pass http_proxy and https_proxy env vars to derivation builds References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 =?utf-8?Q?Flor=C3=A9al?= an 223 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 01 May 2015 00:12:42 +0200 In-Reply-To: (Joshua Randall's message of "Wed, 22 Apr 2015 15:22:50 +0100") Message-ID: <87bni5fep1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20402 Cc: 20402@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Joshua Randall skribis: > I've updated my patch to also modify guix/derivations.scm to add a setting > for nix's impureEnvVars, such that it will pass http_proxy and https_proxy > variables from the guix daemon to the build processes (which nix will do > only for fixed-output derivations). I took a slightly different approach in commit c046815 (and also not passing =E2=80=9CimpureEnvVars=E2=80=9D by default since that would lead to= a full rebuild.) With commit 0d88313, $http_proxy is honored, but note that it=E2=80=99s the $http_proxy value in the daemon=E2=80=99s environment that is used, not in = the client=E2=80=99s environment. > I believe this is working, but I've now run into a third problem: the > bootstrap guile is only v2.0.9, and v.2.0.10 or later is required for pro= xy > support. What would I need to do to use a later version of bootstrap guil= e? We will need to update the bootstrap Guile, but that won=E2=80=99t happen u= ntil a later full-rebuild cycle. You should be able to use substitutes as a workaround in the meantime. How does that sound? Thank you! Ludo=E2=80=99.