help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUIX behind a proxy


From: 宋文武
Subject: Re: GUIX behind a proxy
Date: Mon, 24 Oct 2022 15:22:14 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)

"Diederich, Stefan" <Stefan.Diederich@unimedizin-mainz.de> writes:

> Dear Sir or Madame,
>
> I installed guix with the installation script provided
>
> sudo sh guix-install.sh
>
> After this I added some the https_proxy and http_proxy to the environment in 
> the file /etc/systemd/system/guix-daemon.service:
>
> # This is a "service unit file" for the systemd init system to launch
> # 'guix-daemon'.  Drop it in /etc/systemd/system or similar to have
> # 'guix-daemon' automatically started.
>
> [Unit]
> Description=Build daemon for GNU Guix
>
> [Service]
> ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon 
> --build-users-group=guixbuild
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale'
>  LC_ALL=en_US.utf8
> Environment='https_proxy=https://10.10.6.11:8080'
> Environment='http_proxy=http://10.10.6.11:8080'
> Environment='HTTP_PROXY=http://10.10.6.11:8080'
> Environment='HTTPS_PROXY=https://10.10.6.11:8080'
> [...]
>
> Is there anything I might have missed? Can someone help me with configuring 
> guix behind a proxy?
>

Hello, I think the value of https_proxy should also be
'http://10.10.6.11:8080', not https.  Unless you does have the proxy
server listen https, which usually not setup that way.

Hope it help!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]