unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: "Jorge P. de Morais Neto" <jorge+list@disroot.org>,
	martin@famic.de, help-guix@gnu.org
Subject: Re: guix pull behind proxy not working
Date: Thu, 15 Aug 2019 21:20:27 +0200	[thread overview]
Message-ID: <87tvaigrr8.fsf@devup.no> (raw)
In-Reply-To: <87imqyclxy.fsf@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

Jorge P. de Morais Neto <jorge+list@disroot.org> writes:

> Em 2019-07-04T11:05:35+0200, martin@famic.de escreveu:
>
>> However, calling `guix pull` and `guix system reconfigure` still fails
>> due to unreachable network.  Does it need different proxy settings?
>> What can I do?
>
> I have the same problem on a Debian buster foreign distro.  I have
> configured the proxy in
> /etc/systemd/system/guix-daemon.service.d/override.conf
>
> It contains the following lines:
>
>     Environment="http_proxy=http://localhost:3128"
>     Environment="https_proxy=http://localhost:3128"
>
> And I confirmed with ~systemctl show~ that both variables are correct in
> the environment of Guix daemon.

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-08-15 19:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04  9:05 guix pull behind proxy not working martin
2019-07-04 13:06 ` znavko
2019-07-04 13:13 ` Raghav Gururajan
2019-07-04 14:42   ` martin
2019-08-15 18:39 ` Jorge P. de Morais Neto
2019-08-15 19:20   ` Marius Bakke [this message]
2019-08-16 15:52     ` Jorge P. de Morais Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvaigrr8.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=help-guix@gnu.org \
    --cc=jorge+list@disroot.org \
    --cc=martin@famic.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).