From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jorge P. de Morais Neto Subject: Re: guix pull behind proxy not working Date: Fri, 16 Aug 2019 12:52:50 -0300 Message-ID: <87ftm1cdkd.fsf@disroot.org> References: <20190704090535.GB24157@famic.de> <87imqyclxy.fsf@disroot.org> <87tvaigrr8.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34380) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyeXa-0008Sk-TS for help-guix@gnu.org; Fri, 16 Aug 2019 11:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyeXZ-0003I8-Gx for help-guix@gnu.org; Fri, 16 Aug 2019 11:53:22 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50682) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyeXY-0003Fz-Tn for help-guix@gnu.org; Fri, 16 Aug 2019 11:53:21 -0400 In-Reply-To: <87tvaigrr8.fsf@devup.no> 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: Marius Bakke , martin@famic.de, help-guix@gnu.org Em 2019-08-15T21:20:27+0200, Marius Bakke escreveu: > I think you also need these variables in the environment that invokes > the 'guix' command. Does it work if you export these variables before > running guix, in addition to having them in the daemon environment? I think that makes no difference, as the Guix manual in [[info:guix#Proxy Settings]] says: Substitutes are downloaded over HTTP or HTTPS. The =E2=80=98http_proxy= =E2=80=99 environment variable can be set in the environment of =E2=80=98guix-dae= mon=E2=80=99 and is honored for downloads of substitutes. Note that the value of =E2=80=98http_proxy=E2=80=99 in the environment where =E2=80=98guix bui= ld=E2=80=99, =E2=80=98guix package=E2=80=99, and other client commands are run has _absolutely no effect_. Anyway I verified I had those environment variables in the environment of guix pull, and I got "Connection timed out". I should add that I configured Gnome to use my workplace automatic proxy configuration; but for applications (such as GNU Emacs) that do not integrate with Gnome proxy settings I have set up ntlmaps, which is why the http{,s}_proxy environment variables point to localhost. This works fine with Emacs, both for package installation and for the EWW web browser. Even ~git clone https://git.savannah.gnu.org/git/guix.git~ (outside of guix pull) works. In fact, is there a convenient way to tell guix to use a repository I have pulled myself, with git? Regards --=20 - I am Brazilian. I hope my English is correct and I welcome feedback - Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z - Free/libre software for Android: https://f-droid.org/ - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]]