Yuri <[email protected]> writes:

> The information about proxy in the official guide is short and
> incomplete. It seems to only cover setting up a proxy for downloading
> substitutes.
> However, a proxy often needs to be set up at the system level for all.
> For example, a program needs to download geomaps, and this requires
> using an https proxy. The software itself doesn't have a proxy setting
> (like curl or Firefox, etc.). It will use the one set system wide.
>
> Following discussions from eight years ago, I tried the following 
> installation methods via the terminal:
> 1. sudo -s
> herd stop guix-daemon
> https_proxy=https://195.237.228.218:8087 guix-daemon
> --build-users-group=guixbuild
> [...]
>
> changing http/https proxy of guix-daemon to
> "https://195.237.228.218:8087";

Hi, I think you should use "http://195.237.228.218:8087"; as the value
for both 'http_proxy' and 'https_proxy', unless your proxy server speak
HTTPS protocol at 8087 which is very unlikely...


> How do set a system wide http(s) proxy in Guix?
> This isn't specific question as we see.

That's not Guix specified, most programs will read some environment
variables (http_proxy/https_proxy/HTTP_PROXY/ALL_PROXY, etc.), and
GNOME/KDE desktop have its proxy setting, but there is no such a single
system-wide setting can do the job.  Or you can try setup a transparent
proxy on a standalone router or through a network namespace, it's more
complex but will apply to all programs.

Reply via email to