mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
This will facilitate breaking up Nix into multiple packages for each component with Meson.
22 lines
441 B
C++
22 lines
441 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "types.hh"
|
|
|
|
namespace nix {
|
|
|
|
/**
|
|
* 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.
|
|
*/
|
|
extern const StringSet networkProxyVariables;
|
|
|
|
/**
|
|
* Heuristically check if there is a proxy connection by checking for defined
|
|
* proxy variables.
|
|
*/
|
|
bool haveNetworkProxyConnection();
|
|
|
|
}
|