Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
network-proxy.hh File Reference
#include "nix/util/types.hh"

Go to the source code of this file.

Functions

bool nix::haveNetworkProxyConnection ()

Variables

const StringSet nix::networkProxyVariables = getAllVariables()

Function Documentation

◆ haveNetworkProxyConnection()

bool nix::haveNetworkProxyConnection ( )

Heuristically check if there is a proxy connection by checking for defined proxy variables.

Variable Documentation

◆ networkProxyVariables

const StringSet nix::networkProxyVariables = getAllVariables()

Environment variables relating to network proxying. These are used by a few misc commands.

See the Environment section of https://curl.se/docs/manpage.html for details.