Browse Source
Apparently everyone just copied those variables, instead of creating a library constant for them. Some even removed the comment. -.-nixos-19.03
14 changed files with 29 additions and 72 deletions
@ -0,0 +1,12 @@
|
||||
# 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" |
||||
]; |
||||
|
||||
} |
Loading…
Reference in new issue