mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
61462c94e6
Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-
13 lines
408 B
Nix
13 lines
408 B
Nix
# snippets that can be shared by mutliple fetchers (pkgs/build-support)
|
|
{
|
|
|
|
proxyImpureEnvVars = [
|
|
# We borrow these environment variables from the caller to allow
|
|
# easy proxy configuration. This is impure, but a fixed-output
|
|
# derivation like fetchurl is allowed to do so since its result is
|
|
# by definition pure.
|
|
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
|
|
];
|
|
|
|
}
|