1# snippets that can be shared by multiple fetchers (pkgs/build-support)
2{ lib }:
3{
4
5 proxyImpureEnvVars = [
6 # We borrow these environment variables from the caller to allow
7 # easy proxy configuration. This is impure, but a fixed-output
8 # derivation like fetchurl is allowed to do so since its result is
9 # by definition pure.
10 "http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
11 ];
12
13}