all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jorge" <jorge+list@disroot.org>
To: Help-Guix@gnu.org
Subject: Re: How to configure git to use a proxy inside guix build container
Date: Tue, 23 Jan 2018 20:04:39 +0000	[thread overview]
Message-ID: <84d79eb43cacc80602e1a89d073d0c67@disroot.org> (raw)
In-Reply-To: <e8b776290f34cae8bb14b184f0ae84c9@disroot.org>

I have worked around the problem by cloning
https://git.savannah.gnu.org/git/guix.git into /home/jorge/repos/guix, and
configuring /etc/systemd/system/guix-daemon.service.d/override.conf as such:
--8<---------------cut here---------------start------------->8---
[Service]
Environment="http_proxy=http://localhost:5865"
Environment="https_proxy=https://localhost:5865"
Environment="ftp_proxy=ftp://localhost:5865"
Environment="all_proxy=localhost:5865"
ExecStart=
ExecStart=/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild --chroot-directory=/home/jorge/repos/guix
--8<---------------cut here---------------end--------------->8---
I then issue guix pull with ~guix pull --url=/home/jorge/repos/guix~.

The problem is that the pull fails because of hash sum mismatches, even with
--fallback.  I will start another thread.

      parent reply	other threads:[~2018-01-23 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-19 22:56 How to configure git to use a proxy inside guix build container Jorge
2018-01-22 15:21 ` Jorge
2018-01-23 20:52   ` Ricardo Wurmus
2018-01-23 20:04 ` Jorge [this message]

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

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

  git send-email \
    --in-reply-to=84d79eb43cacc80602e1a89d073d0c67@disroot.org \
    --to=jorge+list@disroot.org \
    --cc=Help-Guix@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.