[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to configure git to use a proxy inside guix build container
From: |
Jorge |
Subject: |
Re: How to configure git to use a proxy inside guix build container |
Date: |
Tue, 23 Jan 2018 20:04:39 +0000 |
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.