summary refs log blame commit diff
path: root/lib/fetchers.nix
blob: 21f28c32ef7e131f0e003ec7dedad7d6085d9a79 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                       










                                                                      
# snippets that can be shared by multiple 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"
  ];

}