2017-04-19 13:41:28 -06:00
|
|
|
# snippets that can be shared by multiple fetchers (pkgs/build-support)
|
2016-09-17 13:50:01 -06:00
|
|
|
{
|
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|