From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#25831: Expose http_proxy setting on GuixSD Date: Thu, 23 Feb 2017 16:20:38 +0000 Message-ID: <20170223162038.lkwbyp2f3l7g7q4k@wasp> References: <20170221171912.GB1656@jasmine> <87efyrwgrk.fsf@gnu.org> <20170221202654.GA16281@jasmine> <87r32qv9ho.fsf@gnu.org> <20170222192223.GA26356@jasmine> <8737f60ypb.fsf@gnu.org> <20170222202631.GB28813@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgw6j-00087R-Aw for bug-guix@gnu.org; Thu, 23 Feb 2017 11:19:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgw6g-0006Zk-76 for bug-guix@gnu.org; Thu, 23 Feb 2017 11:19:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cgw6g-0006Zg-3Q for bug-guix@gnu.org; Thu, 23 Feb 2017 11:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cgw6f-0003Ti-U7 for bug-guix@gnu.org; Thu, 23 Feb 2017 11:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170222202631.GB28813@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 25831-done@debbugs.gnu.org On 17-02-22 15:26:31, Leo Famulari wrote: > On Wed, Feb 22, 2017 at 09:15:12PM +0100, Mathieu Lirzin wrote: > > Leo Famulari writes: > > > + (list (string-append "PATH=" #$lsof "/bin") > > > + #$@(if http-proxy > > > + (list (string-append "http_proxy=" http-proxy)) > > > + '())) > > ^^ > > missin two spaces in THEN and ELSE part ;) > > I'm still learning what looks right :) > > > Otherwise, LGTM. > > Thanks for your advice and review! > > I pushed the change as 93d32da9f8bba815b1effe6358904b5e1f9c73ff. Thanks! I was hoping this change (added 127.0.0.1:9050) in a test config would pick up the .onion of bayfront I have in there, but it didn't happen. In the comments you mentioned https_proxy is at some point favored over http_proxy, so currently my only option is firewall rules then (which I will need anyway).